Atmel CAVR-4 Manual De Usuario
CAVR-4
264
Descriptions of implementation-defined behavior
AVR® IAR C/C++ Compiler
Reference Guide
%p in printf() (7.9.6.1)
The argument to a
%p
conversion specifier, print pointer, to
printf()
is treated as
having the type
'char
*'
. The value will be printed as a hexadecimal number, similar
to using the
%x
conversion specifier.
%p in scanf() (7.9.6.2)
The
%p
conversion specifier, scan pointer, to
scanf()
reads a hexadecimal number and
converts it into a value with the type
'void *'
.
Reading ranges in scanf() (7.9.6.2)
A
-
(dash) character is always treated explicitly as a
-
character.
File position errors (7.9.9.1, 7.9.9.4)
There are no other streams than
stdin
and
stdout
. This means that a file system is not
implemented.
Message generated by perror() (7.9.10.4)
perror()
is not supported.
Allocating zero bytes of memory (7.10.3)
The
calloc()
,
malloc()
, and
realloc()
functions accept zero as an argument.
Memory will be allocated, a valid pointer to that memory is returned, and the memory
block can be modified later by
block can be modified later by
realloc
.
Behavior of abort() (7.10.4.1)
The
abort()
function does not flush stream buffers, and it does not handle files,
because this is an unsupported feature.
Behavior of exit() (7.10.4.3)
The
exit()
function does not return.
Environment (7.10.4.4)
Environments are not supported.
system() (7.10.4.5)
The
system()
function is not supported.