| |||
| Home > The C and C++ Libraries > C library extensions | |||
This section describes C library extensions and functions. Some are defined by the ISO/IEC 9899:1999 C standard and some are specific to the ARM compiler. These are summarized in Table 2.16.
Table 2.16. C library extensions
| Function | Header file definition | Extension |
|---|---|---|
| atoll() | stdlib.h | C99 standard |
| strtoll() | stdlib.h | C99 standard |
| strtoull() | stdlib.h | C99 standard |
| printf() | stdlib.h | C99 standard |
| snprintf() | stdio.h | C99 standard |
| vsnprintf() | stdio.h | C99 standard |
| lldiv() | stdlib.h | C99 standard |
| llabs() | stdlib.h | C99 standard |
| wcscasecmp() | wchar.h | GNU extension supported by the ARM libraries. |
| wcsncasecmp() | wchar.h | GNU extension supported by the ARM libraries. |
| wcstombs() | stdlib.h | POSIX extended functionality |
| alloca() | alloca.h | Common nonstandard extension to many C libraries |
| strlcpy() | string.h | Common BSD-derived extension to many C libraries |
| strlcat() | string.h | Common BSD-derived extension to many C libraries |
| strcasecmp() | string.h | Standardized by POSIX. |
| strncasecmp() | string.h | Standardized by POSIX. |
| _fisatty() | stdio.h | Specific to ARM compiler |
| __heapstats() | stdlib.h | Specific to ARM compiler |
| __heapvalid() | stdlib.h | Specific to ARM compiler |
| _membitcpybl(), _membitcpybb(), _membitcpyhl(), _membitcpyhb(), _membitcpywl(), _membitcpywb(), _membitmovebl(), _membitmovebb(), _membitmovehl(), _membitmovehb(), _membitmovewl(), _membitmovewb() | string.h | Specific to ARM compiler |
The headers <stdint.h> and <inttypes.h> from
C99 are also available.