5.12. Tailoring other C library functions

This section describes target-dependent ISO C library functions. Implementation of these ISO standard functions depends entirely on the target operating system.

Table 5.17 lists all the target-dependent functions. None of these functions is used internally by the library. So if any of these functions are not implemented, only those applications that call the function directly will fail.

Table 5.17. ISO 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 semihosting.

clock() and _clock_init() must be re-implemented together or not at all.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0205G
Non-Confidential