SLEEP(3) BSD SLEEP(3)
NAME
sleep - suspend execution for interval
SYNOPSIS
sleep(seconds)
unsigned seconds;
DESCRIPTION
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.
NOTES
The current process is suspended from execution for at least the number
of seconds specified by the argument. The actual suspension time may be
larger than the requested amount by an arbitrary amount due to other
activity in the system.
SEE ALSO
setitimer(2), sigpause(2), usleep(3)