English pages are provided only to compare translations to original pages,
better looking pages can be browsed
at the Linux man-pages official site.
Linux Programmer's Manual (3)
sleep - sleep for the specified number of seconds
unsigned int sleep(unsigned int seconds);
makes the calling thread sleep until
seconds have elapsed or a signal arrives which is not ignored.
Zero if the requested time has elapsed,
or the number of seconds left to sleep,
if the call was interrupted by a signal handler.
may be implemented using
mixing calls to
is a bad idea.
from a signal handler or modifying the handling of
while sleeping will cause undefined results.
This page is part of release 3.66 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
- RETURN VALUE
- CONFORMING TO
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:43:03 GMT, July 12, 2014