English
Language : 

CC78K0S Datasheet, PDF (175/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 10 LIBRARY FUNCTIONS
(5) stdlib.h
This header is used to define character and string functions, memory functions, program control functions,
mathematical functions, and special functions. In this standard header, the following library functions have been
defined.
However, when the compiler option -ZA (the option that disables the functions not compliant with ANSI
specifications and enables a part of the functions of ANSI specifications) is specified, brk, sbrk, itoa, ltoa, and
ultoa are not defined. Instead, strbrk, strsbrk, stritoa, strltoa, and strultoa are defined. When -ZA is not
specified, these functions are not defined.
Table 10-8. Contents of stdlib.h
Existence of -ZI, or -ZL
Normal Model
Static Model
Specification None
ZI
ZL
ZI
None
ZI
ZL
ZI
Function Name
ZL
ZL
atoi
atol
strtol
strtoul
calloc
free
malloc
realloc
abort
atexit
exit
abs
div
labs
ldiv
brk
sbrk
atof
strtod
itoa
ltoa
ultoa
rand
srand
bsearch
qsort
strbrk
strsbrk
stritoa
strltoa
strultoa
√
×
√
×
√
—
√
—
√
√
×
×
—
—
—
—
√
√
×
×
—
—
—
—
√
√
×
×
—
—
—
—
√
√
√
√
√
—
√
—
√
√
√
√
√
—
√
—
√
√
√
√
√
—
√
—
√
√
√
√
√
—
√
—
√
√
√
√
√
√
√
√
√
√
√
√
√
—
√
—
√
√
√
√
√
—
√
—
√
√
√
√
√
—
√
—
√
—
√
—
—
—
—
—
√
√
×
×
—
—
—
—
√
√
—
—
—
—
—
—
√
√
√
√
√
—
√
—
√
√
√
√
√
—
√
—
√
√
√
√
—
—
—
—
√
√
√
√
—
—
—
—
√
√
√
√
√
—
√
—
√
√
—
—
—
—
—
—
√
√
—
—
—
—
—
—
√
×
√
×
—
—
—
—
√
√
√
√
—
—
—
—
√
√
√
√
—
—
—
—
√
√
√
√
—
—
—
—
√
√
√
√
√
—
√
—
√
√
√
√
√
—
√
—
√
√
√
√
√
—
√
—
√
√
—
—
—
—
—
—
√
√
—
—
—
—
—
—
√: Supported
×: Operation is not guaranteed
—: Not supported
In the header stdlib.h the following objects have been defined.
User’s Manual U14872EJ1V0UM
175