CALL Alarm(Seconds, Handler, Status)
INTEGER; scalar; INTENT(IN).
Handler: Signal handler (
INTEGER FUNCTION or
INTEGER(KIND=1); OPTIONAL; scalar; INTENT(OUT).
Causes external subroutine Handler to be executed after a delay of
Seconds seconds by using
alarm(1) to set up a signal and
signal(2) to catch it.
If Status is supplied, it will be
returned with the number of seconds remaining until any previously
scheduled alarm was due to be delivered, or zero if there was no
previously scheduled alarm.
See Signal Intrinsic (subroutine).