The <time.h>
header defines several functions useful for reading and converting the current time and date.
The functions listed in Table 20.1 are not internationally safe to use.
Table 20.1 Functions that are not internationally safe
Function
|
Comments
|
asctime()
|
Not multi-byte aware, not locale sensitive, and returns unlocalized text.
|
asctime_r()
|
Not multi-byte aware, not locale sensitive, and returns unlocalized text.
|
ctime()
|
Not multi-byte aware, not locale sensitive, and returns unlocalized text.
|
ctime_r()
|
Not multi-byte aware, not locale sensitive, and returns unlocalized text.
|
strftime()
|
Not multi-byte aware, not locale sensitive, and returns unlocalized text.
|
The functions defined in this header are all standard libc
functions.