SLEEP(3) Library Routines SLEEP(3)
sleep - suspend process execution for interval of seconds
unsigned int sleep (unsigned int seconds);
The sleep function suspends execution of the calling process for sec-
onds of time. System activity or time spent in processing the call may
lengthen the sleep by a second. Because scheduled wakeups occur at
fixed 1-second intervals, the actual suspension time may also be up to
1 second less than requested.
This function is implemented using alarm(2) and sigpause(2).
This implementation of sleep always returns zero.
A sleep function appeared in v7.
GNO 27 January 1997 SLEEP(3)
Man(1) output converted with