poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / mktime.texi
blobbf4be1836642b28771bf2a5a8442661b0e7b3af1
1 @node mktime
2 @section @code{mktime}
3 @findex mktime
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/mktime.html}
7 Gnulib module: mktime
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 On native Windows platforms (mingw, MSVC), this function works incorrectly
13 when the environment variable @code{TZ} has been set by Cygwin.
14 @item
15 @code{mktime} may go into an endless loop on some platforms.
16 @item
17 @code{mktime} may occasionally return wrong results on some platforms.
18 @end itemize
20 Portability problems not fixed by Gnulib:
21 @itemize
22 @item
23 Native Windows platforms (mingw, MSVC) support only a subset of time
24 zones supported by GNU or specified by POSIX@.  @xref{tzset}.
25 @end itemize