Thread-safe conversion of a value of type time_t to a null-terminated character array.
#include <extras/extras_time.h> char* ctime_r(const time_t * timer, char* s);
timer
A pointer to a value of type time_t to convert.
s
A pointer to a character string array in which to store the result.
This function provides the same service as ctime(). Unlike ctime(), this function requires that the caller provides the storage for string s and the size of the storage must be at least 26 characters long.
The function always returns the value of s.
This function may require extra library support.
This facility is not specified in the ISO/IEC standards. It is an EWL extension of the standard libraries.
This facility may not be available on some configurations of the EWL.