shithub: riscv

ref: 7c6dac30cba19b18fd82026a4a32ceb5f5f36ffa
dir: /sys/man/1/sleep/

View raw version
.TH SLEEP 1
.SH NAME
sleep \- suspend execution for an interval
.SH SYNOPSIS
.B sleep
.I time
.SH DESCRIPTION
.I Sleep
suspends execution for
.I time
seconds.
.I Time
may be floating-point.
.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)