English
Language : 

CC78K4 Datasheet, PDF (163/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 10 LIBRARY FUNCTIONS
10.2 Headers
This C compiler has 13 headers (or header files). Each header defines or declares standard library functions,
data type names, and macro names.
These 13 headers are as shown below.
ctype.h
stdlib.h
limits.h
assert.h
setjmp.h
string.h
stddef.h
stdarg.h
error.h
math.h
stdio.h
errno.h
float.h
(1) ctype.h
This header is used to define character and string 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, _toupper and _tolower
are not defined. Instead, tolow and toup are defined. When -ZA is not specified, tolow and toup are not
defined.
Isalnum
islower
isxdigit
_toupper
isalpha
isprint
tolower
_tolower
iscntrl
ispunct
toupper
tolow
isdigit
isspace
isascii
toup
isgraph
isupper
toascii
(2) setjmp.h
This header is used to define program control functions. In this standard header, the setjmp and longjmp
functions have been defined.
In the header setjmp.h, the following object has been defined.
[Declaration of char array type jmp_buf with an array size of greater than 30]
typedef char jmp_buf[30]
(3) stdarg.h
This header used to define special functions. In this standard header, the following four library functions have
been defined.
When the -ZO option (old function interface supporting option) is not specified, the va_start function cannot be
specified for the first argument because the first argument is passed via the register.
Use the macro in the following manner when the -ZO option is not specified.
• Use the va_starttop macro when specifying the first argument.
• Use the va_start macro when specifying the second argument.
va_start va_starttop va_arg va_end
In the header stdarg.h the following object has been declared.
User’s Manual U15556EJ1V0UM
163