alarm man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

ALARM(3F)							     ALARM(3F)

NAME
       alarm - execute a subroutine after a specified time

SYNOPSIS
       integer*4 function alarm (time, sbrtn)
       integer*4 time
       external sbrtn

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

DESCRIPTION
       This routine arranges for subroutine sbrtn to be called after time sec‐
       onds.  If time is 0, the alarm is turned off, and no routine is called.
       The returned value is the time remaining on the last alarm.

RESTRICTIONS
       A subroutine cannot pass its own name to alarm.

       The  alarm routine generates signals that could interfere with any I/O.
       The called routine, sbrtn, must not do any I/O itself.

       Calling alarm() from a parallelized or multi-threaded program may  have
       unpredictable results.

FILES
       libfui.a

SEE ALSO
       alarm(2), sleep(3F), signal(3F)

				   03/02/25			     ALARM(3F)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net