poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / daylight.texi
blobaf4eeb3106837c75e63776f273b182d8e2d2b0b2
1 @node daylight
2 @section @code{daylight}
3 @findex daylight
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/daylight.html}
7 Gnulib module: ---
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 This variable is missing on some platforms:
17 FreeBSD 6.0, OpenBSD 3.8, IRIX 6.5.
18 @item
19 The address of this variable is not a compile-time constant on some platforms:
20 Cygwin, mingw.
21 @item
22 Native Windows platforms (mingw, MSVC) support only a subset of time
23 zones supported by GNU or specified by POSIX@.  @xref{tzset}.
24 @end itemize
26 A more portable way of getting the UTC offset is to use
27 @code{strftime} with the @code{%z} format.  @xref{strftime}.