1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-18 23:42:00 +03:00
Files
gnulib/doc/posix-functions/localtime_r.texi
Bruno Haible 115dcb2a1a time_r: Add missing declarations on HP-UX 11.
* lib/time.in.h (localtime_r, gmtime_r): Test HAVE_DECL_LOCALTIME_R
instead of HAVE_LOCALTIME_R.
* m4/time_r.m4 (gl_TIME_R): Test whether localtime_r is declared. Set
HAVE_LOCALTIME_R always.
* m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize
HAVE_DECL_LOCALTIME_R, not HAVE_LOCALTIME_R.
* modules/time (Makefile.am): Substitute HAVE_DECL_LOCALTIME_R, not
HAVE_LOCALTIME_R.
* doc/posix-functions/gmtime_r.texi: Document the HP-UX 11 problem.
* doc/posix-functions/localtime_r.texi: Likewise.
2010-12-31 14:01:33 +01:00

26 lines
571 B
Plaintext

@node localtime_r
@section @code{localtime_r}
@findex localtime_r
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/localtime_r.html}
Gnulib module: time_r
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw.
@item
This function is not declared unless @code{_REENTRANT} is defined,
on some platforms:
HP-UX 11.
@item
Some platforms define a function of this name that is incompatible to POSIX:
HP-UX 10.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize