Keil Logo Arm Logo

Library functions

Library functions

The ISO C library variants are listed in C and C++ runtime libraries in Using ARM C and C++ Libraries and Floating-Point Support.

The precise nature of each C library is unique to the particular implementation. The generic ARM C library has, or supports, the following features:

  • The macro NULL expands to the integer constant 0.

  • If a program redefines a reserved external identifier such as printf, an error might occur when the program is linked with the standard libraries. If it is not linked with standard libraries, no error is detected.

  • The __aeabi_assert() function prints details of the failing diagnostic on stderr and then calls the abort() function:

    *** assertion failed: expression, file name, line number
    

    Note

    The behavior of the assert macro depends on the conditions in operation at the most recent occurrence of #include <assert.h>. See Program exit and the assert macro in Using ARM C and C++ Libraries and Floating-Point Support for more information.

For implementation details of mathematical functions, macros, locale, signals, and input/output see The ARM C and C++ libraries in Using ARM C and C++ Libraries and Floating-Point Support.

Copyright © 2007-2008, 2011-2012 ARM. All rights reserved.ARM DUI 0376D
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings