English
Language : 

CC78K4 Datasheet, PDF (164/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 10 LIBRARY FUNCTIONS
[Declaration of pointer type va_list to char]
typedef char *va_list;
(4) stdio.h
This header is used to define I/O functions. In this standard header, the following functions have been defined.
sprintf
getchar
sscanf
gets
printf
putchar
scanf
puts
vprintf vsprintf
The following macro names are declared.
#define
#define
EOF
NULL
(–1)
(void *)0
(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 complying 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, strbrk, strsbrk, stritoa, strltoa, and strultoa are not defined.
atoi atol strtol strtoul
abs div labs ldiv
ultoa rand srand bsearch
calloc free malloc realloc abort atexit exit
brk sbrk atof strtod itoa ltoa
qsort strbrk strsbrk stritoa strltoa strultoa
In the header stdlib.h the following objects have been defined.
[Declaration of structure type “div_t” which has int type members “quot” and “rem”]
typedef struct {
int quot ;
int rem ;
} div_t ;
[Declaration of structure type ldiv_t which has long int type members quot and rem]
typedef struct {
long int quot ;
long int rem ;
} ldiv_t ;
[Definition of macro name RAND_MAX]
#define RAND_MAX 32767
164
User’s Manual U15556EJ1V0UM