ALARM(3F) ALARM(3F)
alarm - execute a subroutine after a specified time
integer function alarm (time, proc)
integer time
external proc
This routine arranges for subroutine proc to be called after time
seconds. If time is ``0'', the alarm is turned off and no routine will be
called. The returned value will be the time remaining on the last alarm.
/usr/lib/libU77.a
sleep(3F), signal(3F)
Alarm and sleep interact. If sleep is called after alarm, the alarm
process will never be called. SIGALRM will occur at the lesser of the
remaining alarm time or the sleep time.
MIPS Computer Systems
PPPPaaaaggggeeee 1111 [ Back ]
|