7.9 C library structure

Conceptually, the C library can be divided into functions that are part of the ISO C standard, for example printf(), and functions that provide support to the ISO C standard.

For example, the following figure shows the C library implementing the function printf() by writing to the debugger console window. This implementation is provided by calling _sys_write(), a support function that executes a semihosting call, resulting in the default behavior using the debugger instead of target peripherals.

Figure 7-1 C library structure
To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Non-ConfidentialPDF file icon PDF versionDUI0773J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.