• Home
Name Date Size #Lines LOC

..--

base/12-May-2024-27,94319,490

lite/12-May-2024-5,5723,664

ndk_libraries_config/12-May-2024-5448

.gitattributesD12-May-2024631 1615

.gitignoreD12-May-20246 21

LICENSED12-May-20249.9 KiB177150

README.mdD12-May-20241.1 KiB3925

README_zh.mdD12-May-20241 KiB3925

bundle.jsonD12-May-20242.4 KiB7877

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