📄 sleep.3
字号:
.TH SLEEP 3 .SH NAMEsleep \- suspend execution for interval.SH SYNOPSIS.B sleep(seconds).br.B unsigned seconds;.SH DESCRIPTIONThe current process is suspended from execution for the numberof seconds specified by the argument.The actual suspension time may be up to 1 second less thanthat requested, because scheduled wakeups occur at fixed 1-second intervals,and an arbitrary amount longer because of other activityin the system..PPThe routine is implemented by setting an alarm clock signaland pausing until it occurs.The previous state of this signal is saved and restored.If the sleep time exceeds the time to the alarm signal,the process sleeps only until the signal would have occurred, and thesignal is sent 1 second later..SH "SEE ALSO"alarm(2), pause(2)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -