Hash :
bfcd9671
Author :
Date :
2022-09-04T13:26:19
nanosleep: Work around bug on newer 32-bit mingw. * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Test for 32-bit mingw bug. * tests/test-nanosleep.c (main): Add another test. * doc/posix-functions/nanosleep.texi: Mention the mingw bug.
@node nanosleep
@section @code{nanosleep}
@findex nanosleep
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/nanosleep.html}
Gnulib module: nanosleep
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 14.
@item
This function mishandles large arguments when interrupted by a signal on some
platforms:
Linux 64-bit, Solaris 64-bit.
@item
This function cannot sleep longer than 49.7 days on some platforms:
Cygwin 1.5.x.
@item
This function does not fail when passed a negative nanosecond value on some
platforms:
newer 32-bit mingw.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize