From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/MAN/alarm.htm | 102 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 reference/C/MAN/alarm.htm (limited to 'reference/C/MAN/alarm.htm') diff --git a/reference/C/MAN/alarm.htm b/reference/C/MAN/alarm.htm new file mode 100644 index 0000000..1400610 --- /dev/null +++ b/reference/C/MAN/alarm.htm @@ -0,0 +1,102 @@ +alarm + +
+
+
+
+
+

ALARM(2) Linux Programmer's Manual ALARM(2) +

+ +

NAME +

alarm - set an alarm clock for delivery of a signal + +

SYNOPSIS +

#include <unistd.h> + + long alarm(long seconds); + +

DESCRIPTION +

alarm arranges for a SIGALRM signal to be delivered to the + process in seconds seconds. + + If seconds is zero, no new alarm is scheduled. + + In any event any previously set alarm is cancelled. + +

RETURN VALUE +

alarm returns the number of seconds remaining until any + previously scheduled alarm was due to be delivered, or + zero if there was no previously scheduled alarm. + +

NOTES +

alarm and setitimer share the same timer; calls to one + will interfere with use of the other. + + Scheduling delays can, as ever, cause the execution of the + process to be delayed by an arbitrary amount of time. + +

CONFORMING TO +

SVID, AT&T, POSIX, X/OPEN, BSD 4.3 + +
+
+

SEE ALSO +

+setitimer, +signal, +sigaction, +gettimeofday, +select, +pause, +sleep, +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Linux 21 July 1993 1 +

+ +
+

+


+

+

+ + + + +
+Top + +Master Index + +Keywords + +Functions +
+
+

+


+ +This manual page was brought to you by mjl_man V-2.0 -- cgit v1.2.3-54-g00ecf