sleep - sleep for the specified number of seconds
unsigned int sleep(unsigned int seconds);
() makes the calling thread sleep until seconds
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.
For an explanation of the terms used in this section, see attributes(7)
() may be implemented using SIGALRM
; 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 4.09 of the Linux man-pages
description of the project, information about reporting bugs, and the latest
version of this page, can be found at