README.md
1# utils/native<a name="EN-US_TOPIC_0000001148676553"></a>
2
3
4- [Introduction](#section11660541593)
5- [Directory Structure](#section17271017133915)
6- [Repositories Involved](#section1249817110914)
7
8## Introduction<a name="section11660541593"></a>
9
10The **utils/native** repository provides the following commonly used C++ utility classes:
11
12- Enhanced APIs for operations related to files, paths, and strings
13- APIs related to the read-write lock, semaphore, timer, thread, and thread pool
14- APIs related to the security data container and data serialization
15- Error codes for each subsystem
16- Safe functions in C
17
18## Directory Structure<a name="section17271017133915"></a>
19
20```
21utils/native
22└─ base
23 ├── include # Header files of APIs open to other subsystems
24 ├── src # Source files
25 ├── ndk_libraries_config # Configuration of the NDK library
26 └── test # Test code
27```
28
29## Repositories Involved<a name="section1249817110914"></a>
30
31Utils subsystem
32
33utils
34
35**utils\_native**
36
37[utils\_native\_lite](https://gitee.com/openharmony/utils_native_lite)
38
39
README_zh.md
1# C++公共基础库<a name="ZH-CN_TOPIC_0000001148676553"></a>
2
3
4- [简介](#section11660541593)
5- [目录](#section17271017133915)
6- [相关仓](#section1249817110914)
7
8## 简介<a name="section11660541593"></a>
9
10C++公共基础类库提供了一些常用的C++开发工具类,包括:
11
12- 文件、路径、字符串相关操作的能力增强接口;
13- 读写锁、信号量、定时器、线程增强及线程池等接口;
14- 安全数据容器、数据序列化等接口;
15- 各子系统的错误码相关定义;
16- C语言安全函数接口。
17
18## 目录<a name="section17271017133915"></a>
19
20```
21utils/native
22└─ base
23 ├── include # 对各子系统开放的接口头文件
24 ├── src # 源文件
25 ├── ndk_libraries_config # ndk库的配置目录
26 └── test # 测试代码
27```
28
29## 相关仓<a name="section1249817110914"></a>
30
31公共基础库子系统
32
33utils
34
35**utils\_native**
36
37[utils\_native\_lite](https://gitee.com/openharmony/utils_native_lite)
38
39