Manual page for SLEEP(3)
sleep - suspend execution for interval
int sleep(unsigned int seconds);
The current process is suspended from execution for the number
of seconds specified by the argument.
The actual suspension time may be up to 1 second less than
that requested, because scheduled wakeups occur at fixed 1-second intervals,
and an arbitrary amount longer because of other activity
in the system.
If the sleep function returns because the requested time
has elapsed, the value returned will be zero. If the sleep
function returns due to the delivery of a signal, the value returned
is the requested time minus the time actually
slept, in seconds.
A resource is temporarily unavailable.
alarm(3C), pause(2P), setitimeer(2), sigaction(2P), sigpause(2), usleep(3)
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97