|
NAMEalarm —
set signal timer alarm
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <unistd.h>
unsigned int
DESCRIPTIONThis interface is made obsolete by
setitimer(2).
The Due to setitimer(2) restriction the maximum number of seconds allowed is 100000000. RETURN VALUESThe return value ofalarm () is the amount of time left
on the timer from a previous call to alarm (). If no
alarm is currently set, the return value is 0.
SEE ALSOsetitimer(2), sigaction(2), sigsuspend(2), signal(3), sleep(3), ualarm(3), usleep(3)HISTORYAnalarm () function appeared in
Version 7 AT&T UNIX.
Visit the GSP FreeBSD Man Page Interface. |