alarm(3F)
alarm - execute a subroutine after a specified time
As shipped in IRIX 6.5.30. Last changed in IRIX 6.5.19.
NAME alarm - execute a subroutine after a specified time SYNOPSIS integer function alarm (time, proc) integer time external proc DESCRIPTION This routine arranges for subroutine proc to be called after time seconds. If time is 0, the alarm is turned off and no routine is called. The returned value is the time remaining on the last alarm. FILES /usr/ucb/lib/libU77.a /usr/lib/libU77.a BUGS alarm and sleep interact. If sleep is called after alarm, the alarm process is never called. SIGALRM occurs at the lesser of the remaining alarm time or the sleep time. SEE ALSO sleep(3F), signal(3F)