diff --git a/en/readme/commonlibrary.md b/en/readme/commonlibrary.md new file mode 100644 index 0000000000000000000000000000000000000000..e2c21fe797d76e4d42a5347e68077945e742057c --- /dev/null +++ b/en/readme/commonlibrary.md @@ -0,0 +1,45 @@ +# commonlibrary + + +## Introduction + +The **commonlibrary** subsystem provides common enhanced APIs for development in C, C++ and JS. + +**c_utils** + +- Enhanced APIs for operations related to files, paths, and strings +- APIs related to the read-write lock, semaphore, timer, thread, and thread pool +- APIs related to the security data container and data serialization +- Error codes for each subsystem +- Safe functions in C + +**ets_utils** + +- JSAPIs for operation of URI, URL and xml +- JSAPIs for character encoder and decoder +- JSAPIs for operation of process +- Multithreading ability in JS + +**utils_lite** + +- Hardware Abstraction Layer (HAL) APIs for performing operations on standard files +- APIs for internal functions, such as the timer + +## Directory Structure + +``` +/commonlibrary + ├── c_utils # Enhanced basic C/C++ library for developers + ├── ets_utils # Enhanced basic JS library for developers + └── utils_lite # Basic tools for liteOS, including C and JS. +``` + +## Repositories Involved + +**commonlibrary subsystem** + +[commonlibrary\_c\_utils](https://gitee.com/openharmony/commonlibrary_c_utils) + +[commonlibrary\_ets\_utils](https://gitee.com/openharmony/commonlibrary_ets_utils) + +[commonlibrary\_utils\_lite](https://gitee.com/openharmony/commonlibrary_utils_lite) diff --git a/en/readme/utils.md b/en/readme/utils.md deleted file mode 100644 index a24dc67246c8aebd6a47144a23d502b59d7ae50c..0000000000000000000000000000000000000000 --- a/en/readme/utils.md +++ /dev/null @@ -1,37 +0,0 @@ -# utils - - -## Introduction - -The **utils** repository provides common enhanced APIs for development in C and C++. - -**C++** - -- Enhanced APIs for operations related to files, paths, and strings -- APIs related to the read-write lock, semaphore, timer, thread, and thread pool -- APIs related to the security data container and data serialization -- Error codes for each subsystem -- Safe functions in C - -**C** - -- Hardware Abstraction Layer (HAL) APIs for performing operations on standard files -- APIs for internal functions, such as the timer - -## Directory Structure - -``` -/utils - ├── native # Utility class implementation at the native layer - └── system # System-related predefined values and security policy configuration -``` - -## Repositories Involved - -**utils subsystem** - -[utils](https://gitee.com/openharmony/utils) - -[utils\_native](https://gitee.com/openharmony/utils_native) - -[utils\_native\_lite](https://gitee.com/openharmony/utils_native_lite) diff --git "a/zh-cn/readme/\345\205\254\345\205\261\345\237\272\347\241\200\345\272\223.md" "b/zh-cn/readme/\345\205\254\345\205\261\345\237\272\347\241\200\345\272\223.md" index a2022d3765087cbf8f1cfc069da111aafa46bfb5..1b2609b9e4e62203b5a7301c2d2a86b27c76e9f1 100755 --- "a/zh-cn/readme/\345\205\254\345\205\261\345\237\272\347\241\200\345\272\223.md" +++ "b/zh-cn/readme/\345\205\254\345\205\261\345\237\272\347\241\200\345\272\223.md" @@ -6,17 +6,23 @@ ## 简介 -公共基础类库提供了一些常用的C、C++开发增强API。包括如下部分: +公共基础类库提供了一些常用的C、C++、JS开发增强API。包括如下部分: -**C++部分:** +**c_utils** - 文件、路径、字符串相关操作的能力增强接口; - 读写锁、信号量、定时器、线程增强及线程池等接口; - 安全数据容器、数据序列化等接口; - 各子系统的错误码相关定义; -- C语言安全函数接口。 -**C部分:** +**ets_utils** + +- JS中URI、URL、xml相关操作接口; +- JS中字符编解码接口; +- JS中进程相关操作接口; +- JS中多线程能力; + +**utils_lite** - 标准文件相关操作HAL接口; - 其它一些内部功能,如定时器等。 @@ -24,18 +30,19 @@ ## 目录 ``` -/utils - ├── native # 工具类的native层实现 - └── system # 系统相关的预定义值和安全策略配 +/commonlibrary + ├── c_utils # c/c++标准库之外方便开发者开发的基础工具库 + ├── ets_utils # js标准库之外的与语言强相关的基础库 + └── utils_lite # lite上使用的工具函数,涉及c和js语言 ``` ## 相关仓 **公共基础库子系统** -[utils](https://gitee.com/openharmony/utils) -[utils\_native](https://gitee.com/openharmony/utils_native) +[commonlibrary\_c\_utils](https://gitee.com/openharmony/commonlibrary_c_utils) -[utils\_native\_lite](https://gitee.com/openharmony/utils_native_lite) +[commonlibrary\_ets\_utils](https://gitee.com/openharmony/commonlibrary_ets_utils) +[commonlibrary\_utils\_lite](https://gitee.com/openharmony/commonlibrary_utils_lite)