Atmel CAVR-4 Manuale Utente
CAVR-4
Part 2. Compiler reference
Library functions
249
LIBRARY DEFINITIONS SUMMARY
This section lists the header files. Header files may additionally contain target-specific
definitions.
definitions.
* The functions
isxxx
,
toupper
, and
tolower
declared in the header file
ctype.h
evaluate
their argument more than once. This is not according to the ISO/ANSI standard.
The following table shows header files that do not contain any functions, but specify
various definitions and data types:
various definitions and data types:
AVR–specific library functions
This section lists the AVR–specific library functions defined in
pgmspace.h
that allow
access to strings in flash. The
_P
functions exist in both the IAR CLIB Library and the
IAR DLIB Library, but they allow access to strings in flash only. The
_G
functions use
the
_ _generic
pointer instead, which means that they allow access to both flash and
data memory. The
_G
functions are only available in the IAR DLIB Library.
Header file
Description
assert.h
Assertions
ctype.h*
Character handling
iccbutl.h
Low-level routines
math.h
Mathematics
setjmp.h
Non-local jumps
stdarg.h
Variable arguments
stdio.h
Input/output
stdlib.h
General utilities
string.h
String handling
Table 78: IAR CLIB Library header files
Header file
Description
errno.h
Error return values
float.h
Limits and sizes of floating-point types
limits.h
Limits and sizes of integral types
stdbool.h
Adds support for the bool data type in C
stddef.h
Common definitions including size_t, NULL,
ptrdiff_t
, and offsetof
Table 79: Miscellaneous IAR CLIB Library header files