Annotation of 43BSDTahoe/man/man3f/alarm.3, revision 1.1

1.1     ! root        1: .\" Copyright (c) 1983 Regents of the University of California.
        !             2: .\" All rights reserved.  The Berkeley software License Agreement
        !             3: .\" specifies the terms and conditions for redistribution.
        !             4: .\"
        !             5: .\"    @(#)alarm.3f    6.1 (Berkeley) 5/15/85
        !             6: .\"
        !             7: .TH ALARM 3F "May 15, 1985"
        !             8: .UC 5
        !             9: .SH NAME
        !            10: alarm \- execute a subroutine after a specified time
        !            11: .SH SYNOPSIS
        !            12: .B integer function alarm (time, proc)
        !            13: .br
        !            14: .B integer time
        !            15: .br
        !            16: .B external proc
        !            17: .SH DESCRIPTION
        !            18: This routine arranges for subroutine
        !            19: .I proc
        !            20: to be called after
        !            21: .I time
        !            22: seconds. If
        !            23: .I time
        !            24: is ``0'', the alarm is turned off and no routine will be called.
        !            25: The returned value will be the time remaining on the last alarm.
        !            26: .SH FILES
        !            27: .ie \nM /usr/ucb/lib/libU77.a
        !            28: .el /usr/lib/libU77.a
        !            29: .SH "SEE ALSO"
        !            30: alarm(3C), sleep(3F), signal(3F)
        !            31: .SH BUGS
        !            32: .I Alarm
        !            33: and
        !            34: .I sleep
        !            35: interact. If
        !            36: .I sleep
        !            37: is called after
        !            38: .IR alarm ,
        !            39: the
        !            40: .I alarm
        !            41: process will never be called. SIGALRM will occur at the lesser of the
        !            42: remaining
        !            43: .I alarm
        !            44: time or the
        !            45: .I sleep
        !            46: time.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.