Datasheet

The C and C++ Libraries
4-96 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
A file can be opened many times for reading, but only once for writing or
updating. A file cannot simultaneously be open for reading on one stream, and
open for writing or updating on another.
Local time zones and Daylight Saving Time are not implemented. The values
returned indicate that the information is not available. For example, the
gmtime()
function always returns NULL.
The status returned by
exit()
is the same value that was passed to it. For
definitions of
EXIT_SUCCESS
and
EXIT_FAILURE
, see the header file
stdlib.h
. The
semihosting SWI, however, does not pass the status back to the execution
environment.
The error messages returned by the
strerror()
function are identical to those
given by the
perror()
function.
If the size of area requested is zero,
calloc()
,
malloc()
, and
realloc()
return
NULL
.
abort()
closes all open files and deletes all temporary files.
fprintf()
prints
%p
arguments in lowercase hexadecimal format as if a precision
of 8 had been specified. If the variant form (
%#p
) is used, the number is preceded
by the character
@
.
fscanf()
treats
%p
arguments exactly the same as
%x
arguments.
fscanf()
always treats the character "-" in a
%...[...]
argument as a literal
character.
ftell()
and
fgetpos()
set
errno
to the value of EDOM on failure.
perror()
generates the messages in Table 4-19.
Table 4-19 perror() messages
Error Message
0 No error (errno = 0)
EDOM EDOM - function argument out of range
ERANGE ERANGE - function result not representable
ESIGNUM ESIGNUM - illegal signal number
Others
Unknown error