Hash :
b0ebe1b9
Author :
Date :
2017-05-01T18:00:56
tzset: update doc for TZ problems on MS-Windows * doc/posix-functions/ctime.texi, doc/posix-functions/daylight.texi: * doc/posix-functions/localtime.texi, doc/posix-functions/mktime.texi: * doc/posix-functions/strftime.texi, doc/posix-functions/timezone.texi: * doc/posix-functions/tzname.texi, doc/posix-functions/tzset.texi: * doc/posix-functions/wcsftime.texi: Mention some issues with TZ under MS-Windows.
@node daylight
@section @code{daylight}
@findex daylight
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/daylight.html}
Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This variable is missing on some platforms:
Mac OS X 10.3, FreeBSD 6.0, OpenBSD 3.8, IRIX 6.5, OSF/1 5.1.
@item
The address of this variable is not a compile-time constant on some platforms:
Cygwin, mingw.
@item
Native Windows platforms (mingw, MSVC) support only a subset of time
zones supported by GNU or specified by POSIX. @xref{tzset}.
@end itemize
A more portable way of getting the UTC offset is to use
@code{strftime} with the @code{%z} format. @xref{strftime}.