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

📄 alarm.2

📁 Unix操作系统minix 2.0源码
💻 2
字号:
.\" Copyright (c) 1980 Regents of the University of California..\" All rights reserved.  The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".\"	@(#)alarm.3c	6.3 (Berkeley) 5/27/86.\".TH ALARM 2  "May 27, 1986".UC 4.SH NAMEalarm \- schedule signal after specified time.SH SYNOPSIS.nf.ft B#include <unistd.h>unsigned int alarm(unsigned int \fIseconds\fP).ft R.fi.SH DESCRIPTION.B Alarmcauses signal SIGALRM, see.BR sigaction (2),to be sent to the invoking processin a number of seconds given by the argument.Unless caught or ignored, the signal terminates the process..PPAlarm requests are not stacked; successive calls reset the alarm clock.If the argument is 0, any alarm request is canceled.Because of scheduling delays,resumption of execution of when the signal iscaught may be delayed an arbitrary amount..PPThe return value is the amount of time previously remaining in the alarm clock..SH "SEE ALSO".BR pause (2),.BR sigsuspend (2),.BR sigaction (2),.BR sleep (3).

⌨️ 快捷键说明

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