Section: Linux Programmer's Manual (2)
Return to Main Contents
alarm - set an alarm clock for delivery of a signal
unsigned int alarm(unsigned int seconds);
arranges for a
signal to be delivered to the calling process in
is zero, no new
In any event any previously set
returns the number of seconds remaining until any previously scheduled
alarm was due to be delivered, or zero if there was no previously
SVr4, POSIX.1-2001, 4.3BSD.
share the same timer; calls to one will interfere with use of the
may be implemented using
mixing calls to
is a bad idea.
Scheduling delays can, as ever, cause the execution of the process to
be delayed by an arbitrary amount of time.
This page is part of release 3.27 of the Linux
A description of the project,
and information about reporting bugs,
can be found at
- RETURN VALUE
- CONFORMING TO
- SEE ALSO
This document was created by
using the manual pages.
Time: 19:49:18 GMT, April 27, 2011