GNU Info

Info Node: (g77-295.info)Alarm Intrinsic

(g77-295.info)Alarm Intrinsic


Next: All Intrinsic Prev: AInt Intrinsic Up: Table of Intrinsic Functions
Enter node , (file) or (file)node

Alarm Intrinsic
...............

     CALL Alarm(SECONDS, HANDLER, STATUS)

SECONDS: `INTEGER'; scalar; INTENT(IN).

HANDLER: Signal handler (`INTEGER FUNCTION' or `SUBROUTINE') or
dummy/global `INTEGER(KIND=1)' scalar.

STATUS: `INTEGER(KIND=1)'; OPTIONAL; scalar; INTENT(OUT).

Intrinsic groups: `unix'.

Description:

   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.
Note: Signal Intrinsic (subroutine).


automatically generated by info2www version 1.2.2.9