Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ alarm(3F) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(3c)

sleep(3f)

signal(3f)



ALARM(3F)               COMMAND REFERENCE               ALARM(3F)



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 will be called.  The returned value will be the time
     remaining on the last alarm.

FILES
     /usr/lib/libU77.a        f77 UTek system interface library.

CAVEATS
     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.

SEE ALSO
     alarm(3c), sleep(3f), signal(3f).































Printed 10/17/86                                                1





































































%%index%%
na:72,87;
sy:159,460;
de:619,334;
fi:953,146;
ca:1099,455;
se:1554,162;
%%index%%000000000105

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026