Datasheet
The C and C++ Libraries
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-99
4.14 C library extensions
This section describes the ARM-specific library extensions and functions defined by the
C99 draft standard (ISO/IEC 9899:1999E). The extensions are summarized in
Table 4-22.
4.14.1 atoll()
The
atoll()
function converts a decimal string into an integer, similarly to the ANSI
functions
atol()
and
atoi()
, but returning a
long long
result. Like
atoi()
,
atoll()
can
accept octal or hexadecimal input if the string begins with
0
or
0x
.
Syntax
longlong atoll(const char *nptr)
Table 4-22 Extensions
Function
Header file
definition
Extension
atoll()
stdlib.h
C99 draft standard
strtoll() on page 4-100
stdlib.h
C99 draft standard
strtoull() on page 4-100
stdlib.h
C99 draft standard
snprintf() on page 4-100
stdio.h
C99 draft standard
vsnprintf() on page 4-100
stdio.h
C99 draft standard
lldiv() on page 4-101
stdlib.h
C99 draft standard
llabs() on page 4-101
stdlib.h
C99 draft standard
alloca() on page 4-101
alloca.h
C99 and others
_fisatty() on page 4-102
stdio.h
ARM-specific
__heapstats() on page 4-102
stdlib.h
ARM-specific
__heapvalid() on page 4-104
stdlib.h
ARM-specific