poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / timezone.texi
blob5297c77c2299815ab650b1381ec69868f7fa0a81
1 @node timezone
2 @section @code{timezone}
3 @findex timezone
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/timezone.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 IRIX 6.5, mingw.
18 @item
19 The address of this variable is not a compile-time constant on some platforms:
20 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}.