Gnulib module: extensions
Portability problems fixed by Gnulib:
_POSIX_PTHREAD_SEMANTICSis not defined).
Portability problems not fixed by Gnulib:
ctime_r takes a pre-allocated buffer and length of the buffer,
NULL on errors.
The input buffer should be at least 26 bytes in size. The output
string is locale-independent. However, years can have more than 4
time_t is sufficiently wide, so the length of the
required output buffer is not easy to determine. Increasing the
buffer size when
NULL is not necessarily
NULL return value could mean some other error
condition, which will not go away by increasing the buffer size.
A more flexible function is
strftime. However, note that it is