sleep - Sleep for the specified number of seconds
unsigned int sleep(unsigned int seconds);
makes the current process 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.
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.