|
|
1.1 root 1: .TH ALARM 3C "18 July 1983"
2: .SH NAME
3: alarm \- schedule signal after specified time
4: .SH SYNOPSIS
5: .nf
6: .B alarm(seconds)
7: .B unsigned seconds;
8: .fi
9: .SH DESCRIPTION
10: .ft B
11: This interface is obsoleted by setitimer(2).
12: .ft R
13: .PP
14: .I Alarm
15: causes signal SIGALRM, see
16: .IR signal (3C),
17: to be sent to the invoking process
18: in a number of seconds given by the argument.
19: Unless caught or ignored, the signal terminates the process.
20: .PP
21: Alarm requests are not stacked; successive calls reset the alarm clock.
22: If the argument is 0, any alarm request is canceled.
23: Because of scheduling delays,
24: resumption of execution of when the signal is
25: caught may be delayed an arbitrary amount.
26: The longest specifiable delay time is 2147483647 seconds.
27: .PP
28: The return value is the amount of time previously remaining in the alarm clock.
29: .SH "SEE ALSO"
30: sigpause(2), sigvec(2), signal(3C), sleep(3)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.