Unix and Linux Discussions Tagged with need help |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
9 |
10,111 |
Shell Programming and Scripting |
|
|
|
2 |
12,901 |
Homework & Coursework Questions |
|
|
|
5 |
2,813 |
Shell Programming and Scripting |
|
|
|
0 |
2,810 |
Programming |
|
|
|
5 |
1,181 |
Shell Programming and Scripting |
|
|
|
6 |
2,553 |
Solaris |
|
|
|
18 |
14,416 |
Shell Programming and Scripting |
|
|
|
4 |
1,092 |
Shell Programming and Scripting |
|
|
|
11 |
10,971 |
Homework & Coursework Questions |
|
|
|
2 |
620 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,277 |
Shell Programming and Scripting |
|
|
|
1 |
867 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,084 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
1,909 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
1,682 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
1,625 |
Shell Programming and Scripting |
|
|
|
4 |
1,541 |
Shell Programming and Scripting |
|
|
|
4 |
1,909 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
1,409 |
Shell Programming and Scripting |
|
|
|
2 |
1,373 |
Shell Programming and Scripting |
|
|
|
6 |
7,519 |
Shell Programming and Scripting |
|
|
|
1 |
1,310 |
Shell Programming and Scripting |
|
|
|
2 |
1,685 |
Shell Programming and Scripting |
|
|
|
4 |
1,666 |
Shell Programming and Scripting |
|
|
|
0 |
2,634 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,393 |
Shell Programming and Scripting |
|
|
|
4 |
1,510 |
Shell Programming and Scripting |
|
|
|
2 |
1,790 |
Shell Programming and Scripting |
|
|
|
1 |
1,424 |
Shell Programming and Scripting |
|
|
|
7 |
3,314 |
Shell Programming and Scripting |
|
|
|
2 |
3,447 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
1,738 |
Shell Programming and Scripting |
|
|
|
4 |
2,559 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
2,405 |
Shell Programming and Scripting |
|
|
|
2 |
2,010 |
Shell Programming and Scripting |
|
|
|
3 |
2,103 |
Shell Programming and Scripting |
|
|
|
16 |
5,168 |
Shell Programming and Scripting |
|
|
|
1 |
3,232 |
Programming |
|
|
|
2 |
1,569 |
Shell Programming and Scripting |
|
|
|
14 |
4,725 |
UNIX for Dummies Questions & Answers |
alarm(2) System Calls Manual alarm(2)
NAME
alarm - set a process's alarm clock
SYNOPSIS
DESCRIPTION
instructs the alarm clock of the calling process to send the signal to the calling process after the number of real-time seconds specified
by sec have elapsed; see signal(5). Specific implementations might place limitations on the maximum supported alarm time. The constant
defined in specifies the implementation-specific maximum. Whenever sec is greater that this maximum, it is silently rounded down to it.
On all implementations, is guaranteed to be at least 31 days (in seconds).
Alarm requests are not stacked; successive calls reset the alarm clock of the calling process.
If sec is 0, any previously made alarm request is canceled.
Alarms are not inherited by a child process across a but are inherited across an
On systems that support the and system calls, the timer mechanism used by is the same as that used by Thus successive calls to and set and
return the state of a single timer. In addition, sets the timer interval to zero.
RETURN VALUE
returns the amount of time previously remaining in the alarm clock of the calling process.
WARNINGS
In some implementations, error bounds for alarm are -1, +0 seconds (for the posting of the alarm, not the restart of the process). Thus a
delay of 1 second can return immediately. The routine can be used to create a more precise delay.
SEE ALSO
sleep(1), exec(2), getitimer(2), pause(2), signal(5), sleep(3C).
STANDARDS CONFORMANCE
alarm(2)