mirror of
https://github.com/openharmony/startup_syspara_lite.git
synced 2026-06-30 22:07:55 -04:00
update readme Signed-off-by: xionglei <xionglei6@huawei.com>
This commit is contained in:
@@ -30,8 +30,8 @@ base/startup/syspara_lite/ # syspara_lite module
|
||||
To obtain the system attributes, use the following code:
|
||||
|
||||
```
|
||||
char* value1 = GetProductType();
|
||||
printf("Product type =%s\n", value1);
|
||||
char* value1 = GetDeviceType();
|
||||
printf("Device type =%s\n", value1);
|
||||
free(value1);
|
||||
char* value2 = GetManufacture();
|
||||
printf("Manufacture =%s\n", value2);
|
||||
|
||||
+2
-2
@@ -30,8 +30,8 @@ base/startup/syspara_lite/ # 系统属性组件
|
||||
获取系统属性
|
||||
|
||||
```
|
||||
char* value1 = GetProductType();
|
||||
printf("Product type =%s\n", value1);
|
||||
char* value1 = GetDeviceType();
|
||||
printf("Device type =%s\n", value1);
|
||||
free(value1);
|
||||
char* value2 = GetManufacture();
|
||||
printf("Manufacture =%s\n", value2);
|
||||
|
||||
Reference in New Issue
Block a user