Specifications

CAVR-4
Part 2. Compiler reference
Library functions
245
Standard C library definitions, for user programs.
Embedded C++ library definitions, for user programs.
CSTARTUP, the module containing the start-up code. It is described in the chapter
The DLIB runtime environment in this guide.
Runtime support libraries; for example low-level floating-point routines.
Intrinsic functions, allowing low-level use of AVR features. See the chapter
Intrinsic functions for more information.
Special compiler support for accessing strings in flash memory, see AVR spec ifi c
library functions, page 249.
C HEADER FILES
This section lists the header files specific to the DLIB library C definitions. Header files
may additionally contain target-specific definitions; these are documented in the chapter
IAR language extensions.
The following table lists the C header files:
Header file Usage
assert.h Enforcing assertions when functions execute
ctype.h Classifying characters
errno.h Testing error codes reported by library functions
float.h Testing floating-point type properties
iso646.h Using Amendment 1—iso646.h standard header
limits.h Testing integer type properties
locale.h Adapting to different cultural conventions
math.h Computing common mathematical functions
setjmp.h Executing non-local goto statements
signal.h Controlling various exceptional conditions
stdarg.h Accessing a varying number of arguments
stdbool.h Adds support for the bool data type in C.
stddef.h Defining several useful types and macros
stdio.h Performing input and output
stdlib.h Performing a variety of operations
string.h Manipulating several kinds of strings
time.h Converting between various time and date formats
wchar.h Support for wide characters
wctype.h Classifying wide characters
Table 73: Traditional standard C header files—DLIB