Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
[IEEE Std1003.1-1990 (``POSIX'').]
ALARM(3) OpenBSD Programmer's Manual ALARM(3)
NAME
alarm - set signal timer alarm
SYNOPSIS
#include <unistd.h>
unsigned int
alarm(unsigned int seconds);
DESCRIPTION
This interface is made obsolete by setitimer(2).
The alarm() function waits a count of seconds before asserting the termi-
nating signal SIGALRM. When the signal has successfully been caught,
alarm() returns the amount of time left on the clock. The maximum number
of seconds allowed is 2147483647.
If an alarm has been set with alarm(), another call to alarm() will su-
persede the prior call. The request alarm(0) voids the current alarm.
SEE ALSO
setitimer(2), sigaction(2), signal(3), sigpause(3), sigvec(3),
sleep(3), ualarm(3), usleep(3)
STANDARDS
The alarm() function conforms to IEEE Std1003.1-1990 (``POSIX'').
HISTORY
An alarm() function appeared in Version 7 AT&T UNIX.
OpenBSD 2.6 April 19, 1994 1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
FreeBSD Sources for alarm(3) functions OpenBSD sources for alarm(3)
Up to: Real-Time related - time of day, elapsed time, sleeping, waiting for events. time(), gmtime(), localtime(), etc.
Up to: Process Signals and Events - Sending and handling signals and events.
Up to: Current Process Control - control of the currently running process, longjmp, wait, sleep, argument processing
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
[IEEE Std1003.1-1990 (``POSIX'').]
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > man pages >
alarm.3/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|