|Non-Confidential||PDF version||ARM 100073_0607_00_en|
|Home > The ARM C and C++ Libraries > ISO C library implementation definition > ISO-compliant C library input/output characteristics|
The generic ARM C library has defined input/output characteristics.
These input/output characteristics are as follows:
NULcharacters are appended to a binary output stream.
stderrare assumed to be interactive devices. They are line-buffered at program startup, regardless of what
_sys_isttyreports for them. An exception is if they have been redirected on the command line.
localtime()is implemented and returns the local time.
gmtime()is not implemented and returns
NULL. Therefore converting between time-zones is not supported.
exit()is the same value that was passed to it. For definitions of
EXIT_FAILURE, see the header file stdlib.h. Semihosting, however, does not pass the status back to the execution environment.
strerror()function are identical to those given by the
malloc()returns a pointer to a zero-size block.
abort()closes all open files and deletes all temporary files.
%parguments 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
%parguments exactly the same as
fscanf()always treats the character "-" in a
%...[...]argument as a literal character.
errnoto the value of
perror()generates the messages shown in the following table.
Table 1-12 perror() messages
The following characteristics are unspecified in the ARM C library. They must be specified in an ISO-compliant implementation:
remove()can remove an open file.
rename()function when the new name already exists.
getenv()(the default is to return
NULL, no value available).