• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Native Standard Libraries Supported by OpenHarmony
2
3
4
5## Overview
6
7
8
9**Table 1** Standard libraries supported by OpenHarmony
10
11| Library     | Description                                                        |
12| :-------- | :----------------------------------------------------------- |
13| C standard library  | C11 standard library implemented by [libc, libm, and libdl](https://en.cppreference.com/w/c/header).      |
14| C++ standard library ([libc++](https://libcxx.llvm.org/))| An implementation of the C++ standard library.  |
15| Open Sound Library for Embedded Systems ([OpenSL ES](https://www.khronos.org/registry/OpenSL-ES/))| An embedded, cross-platform audio processing library.|
16| [Zlib](https://zlib.net/)     | A general data compression library implemented in C/C++.|
17| [EGL](https://www.khronos.org/egl/)  | A standard software interface between rendering APIs and the underlying native window system.|
18| Open Graphics Library for Embedded Systems ([OpenGL ES](https://www.khronos.org/opengles/))| A cross-platform software interface for rendering 3D graphics on embedded and mobile systems.|
19
20## C Standard Library
21
22
23
24The C standard library is a C11 standard library implemented by:
25
26libc: provides thread-related functions and a majority of standard functions.
27
28libm: provides basic mathematical functions.
29
30libdl: provides functions related to dynamic linking, such as **dlopen**.
31
32**Version**
33
341.2.0
35
36**Capabilities**
37
38C standard library includes a set of header files in accordance with standard C and provides common functions, such as the functions related to input/output (I/O) and string control.
39
40**<font size=5>musl</font>**
41
42[Native API Symbols Not Exported](musl-peculiar-symbol.md)
43
44## libc++
45
46
47
48[libc++](https://libcxx.llvm.org/) is an implementation of the C++ standard library.
49
50**Version**
51
5210.0.1
53
54**Capabilities**
55
56The C++11 and C++14 standards are supported, and the C++17 and C++20 standards are on the way.
57
58## OpenSL ES
59
60
61
62[OpenSL ES](https://www.khronos.org/registry/OpenSL-ES/) is an embedded, cross-platform audio processing library.
63
64
65
66## zlib
67
68
69
70[zlib](https://zlib.net/) is a general data compression library implemented in C/C++.
71
72
73
74
75
76
77
78## EGL
79
80EGL is an interface between Khronos rendering APIs (such as OpenGL ES and OpenVG) and the underlying native window system. OpenHarmony supports EGL.
81
82**Symbols Exported from the Standard Library**
83
84[EGL Symbols Exported from Native APIs](../third_party_opengl/egl-symbol.md)
85
86
87
88## OpenGL ES
89
90OpenGL is a cross-platform software interface for 3D graphics processing. [OpenGL ES](https://www.khronos.org/opengles/) is a OpenGL specification for embedded devices. OpenHarmony supports OpenGL ES 3.0.
91
92**Capabilities**
93
94OpenGL ES 3.0
95
96**Symbols Exported from the Standard Library**
97
98[OpenGL ES 3.0 Symbols Exported from Native APIs](../third_party_opengl/openglesv3-symbol.md)
99