BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / sleep.0
SLEEP(1) UNIX Programmer's Manual SLEEP(1)
N\bNA\bAM\bME\bE
sleep - suspend execution for an interval
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
s\bsl\ble\bee\bep\bp time
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bS_\bl_\be_\be_\bp suspends execution for _\bt_\bi_\bm_\be seconds. It is used to
execute a command after a certain amount of time as in:
(sleep 105; command)&
or to execute a command every so often, as in:
while true
do
command
sleep 37
done
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
setitimer(2), alarm(3C), sleep(3)
B\bBU\bUG\bGS\bS
_\bT_\bi_\bm_\be must be less than 2,147,483,647 seconds.
Printed 7/9/88 April 29, 1985 1