Specifications
CAVR-4
Part 2. Compiler reference
Implementation-defined behavior
265
Message returned by strerror() (7.11.6.2)
The messages returned by strerror() depending on the argument are:
The time zone (7.12.1)
The time zone function is not supported.
clock() (7.12.2.1)
The clock() function is not supported.
IAR DLIB LIBRARY FUNCTIONS
The information in this section is valid only if the runtime library configuration you have
chosen supports file descriptors. See the chapter The DLIB runtime environment for
more information about runtime library configurations.
NULL macro (7.1.6)
The NULL macro is defined to 0.
Diagnostic printed by the assert function (7.2)
The assert() function prints:
filename:linenr expression -- assertion failed
when the parameter evaluates to zero.
Domain errors (7.5.1)
NaN (Not a Number) will be returned by the mathematic functions on domain errors.
Underflow of floating-point values sets errno to ERANGE (7.5.1)
The mathematics functions set the integer expression errno to ERANGE (a macro in
errno.h) on underflow range errors.
Argument Message
EZERO no error
EDOM domain error
ERANGE range error
<0 || >99 unknown error
all others error No.xx
Table 80: Message returned by strerror()—IAR CLIB library