2.15. 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

FunctionHeader file definitionExtension
atoll()stdlib.hC99 standard
strtoll()stdlib.hC99 standard
strtoull()stdlib.hC99 standard
printf()stdlib.hC99 standard
snprintf()stdio.hC99 standard
vsnprintf()stdio.hC99 standard
lldiv()stdlib.hC99 standard
llabs()stdlib.hC99 standard
wcscasecmp()wchar.hGNU extension supported by the ARM libraries.
wcsncasecmp()wchar.hGNU extension supported by the ARM libraries.
wcstombs()stdlib.hPOSIX extended functionality
alloca()alloca.hCommon nonstandard extension to many C libraries
strlcpy()string.hCommon BSD-derived extension to many C libraries
strlcat()string.hCommon BSD-derived extension to many C libraries
strcasecmp()string.hStandardized by POSIX.
strncasecmp()string.hStandardized by POSIX.
_fisatty()stdio.hSpecific to ARM compiler
__heapstats()stdlib.hSpecific to ARM compiler
__heapvalid()stdlib.hSpecific to ARM compiler
_membitcpybl(), _membitcpybb(), _membitcpyhl(), _membitcpyhb(), _membitcpywl(), _membitcpywb(), _membitmovebl(), _membitmovebb(), _membitmovehl(), _membitmovehb(), _membitmovewl(), _membitmovewb()string.hSpecific to ARM compiler

The headers <stdint.h> and <inttypes.h> from C99 are also available.

Copyright © 2007-2010 ARM. All rights reserved.ARM DUI 0349C
Non-ConfidentialID101213