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, Figure 1 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 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.

Show/hideSee also


Using ARM C and C++ Libraries and Floating Point Support:


ARM C and C++ Libraries and Floating Point Support Reference:

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0471G