Plan 9 from Bell Labs’s /usr/web/sources/patch/sorry/msleep/sleep

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH SLEEP 1
.SH NAME
sleep \- suspend execution for an interval
.SH SYNOPSIS
.B sleep
.I time
.br
.B msleep
.I time
.SH DESCRIPTION
.I Sleep
suspends execution for
.I time
seconds; msleep suspends execution for
.I time
milliseconds.
.SH EXAMPLES
Execute a command
100 seconds hence.
.IP
.EX
{sleep 100; command}&
.EE
.PP
Repeat a command every 30 seconds.
.IP
.EX
while (){
	command
	sleep 30
}
.EE
.SH SOURCE
.B /sys/src/cmd/sleep.c
.SH "SEE ALSO"
.IR sleep (2)

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.