Next: daddl
, Previous: ctime
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
ctime_r
Removed in POSIX.1-2024.
POSIX.1-2017 specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/ctime_r.html
Gnulib module: extensions
Portability problems fixed by Gnulib:
_POSIX_PTHREAD_SEMANTICS
is not defined).
Portability problems not fixed by Gnulib:
localtime_r
and strftime
(or even sprintf
) instead.
However, localtime_r
can fail and strftime
is locale dependent.
ctime
.
INT_MIN
+1900 or after the
year INT_MAX
+1900.