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.
() 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 3.74 of the Linux man-pages
description of the project, information about reporting bugs, and the latest
version of this page, can be found at