4.11. Tailoring other C library functions

Implementation of the following ANSI standard functions depends entirely on the target operating system. None of the functions listed below is used internally by the library. So if any of these functions are not implemented, only applications calling the function directly will fail.

The target-dependent ANSI C library functions are listed in Table 4.16.

Table 4.16. ANSI C library functions

FunctionDescription
clock() and _clock_init()clock() and _clock_init()
time()time()
remove()remove()
rename()rename()
system()system()
getenv()getenv()
__getenv_init()_getenv_init()

The default implementation of these functions is semihosted. That is, each function uses the semihosting SWI.

clock() and _clock_init() must be reimplemented together or not at all.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D
Non-Confidential