summaryrefslogtreecommitdiff
path: root/doc/posix-functions/sleep.texi
blob: 9a7a74f0bd1d1adcc0caf045ca8ba62d26e8cc45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@node sleep
@section @code{sleep}
@findex sleep

POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/sleep.html}

Gnulib module: sleep

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw (2005 or newer).
@item
This function takes milliseconds as argument and returns @code{void} on some
platforms:
mingw (2005 and older).
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
According to POSIX, the @code{sleep} function may interfere with the program's
use of the @code{SIGALRM} signal.  On Linux, it doesn't; on other platforms,
it may.
@end itemize