⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sleep.3

📁 操作系统设计与实现源码
💻 3
字号:
.\" Copyright (c) 1980 Regents of the University of California..\" All rights reserved.  The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".\"	@(#)sleep.3	6.2 (Berkeley) 5/12/86.\".TH SLEEP 3  "May 12, 1986".UC 4.SH NAMEsleep \- suspend execution for interval.SH SYNOPSIS.nf.ft B#include <unistd.h>unsigned int sleep(unsigned int \fIseconds\fP).fi.SH DESCRIPTIONThe current process is suspended from execution for the numberof seconds specified by the argument..PPThe routine is implemented by setting an alarm timerand pausing until it occurs.The previous state of this timer is saved and restored.If the sleep time exceeds the time to the expiration of theprevious timer,the process sleeps only until the signal would have occurred, and thesignal is sent 1 second later..SH "SEE ALSO".BR alarm (2),.BR pause (2).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -