Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ alarm(3F) — SPARCworks 2.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(3C)

sleep(3F)

signal(3F)

ALARM(3F)  —  FORTRAN LIBRARY ROUTINES

NAME

alarm − execute a subroutine after a specified time

SYNOPSIS

integer function alarm (time, sbrtn)
integer time
external sbrtn

USAGE

integer time /8/
external sbrtn
nseconds = alarm(time,sbrtn)

DESCRIPTION

This routine arranges for subroutine sbrtn 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

libF77.a

SEE ALSO

alarm(3C), sleep(3F), signal(3F)

BUGS

A subroutine cannot pass its own name to alarm because of restrictions in the standard. 

Sun Release 4.1  —  Last change: 12 June 1991

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