poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / tzname.texi
blobae86dff1fbaf64425badc6b06829be6009ea1194
1 @node tzname
2 @section @code{tzname}
3 @findex tzname
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/tzname.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 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 time zone abbreviation is to use
27 @code{strftime} with the @code{%Z} format.  @xref{strftime}.