Annotation of coherent/a/usr/man/COHERENT/alarm, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: alarm()                COHERENT System Call               alarm()
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Set a timer
                      9: 
                     10: aallaarrmm(_n)
                     11: uunnssiiggnneedd _n;
                     12: 
                     13: alarm sets  a timer associated with the  requesting process to go
                     14: off in  n seconds.  After n seconds, the  system sends the signal
                     15: SIGALRM to the process.  An  argument of zero turns off the alarm
                     16: timer.
                     17: 
                     18: By  default, the  receipt of  the  SIGALRM signal  terminates the
                     19: process.  However,  it may be caught or  ignored by using signal.
                     20: Because of  scheduling variation and the  one second granularity,
                     21: the action of alarm is predictable only to within one second.
                     22: 
                     23: alarm is  useful for such  things as timeouts.   For example, the
                     24: login process  on a dial-in port  might hang up the  line after a
                     25: sufficient time has elapsed with no user response.
                     26: 
                     27: alarm returns the previous alarm value, which represents the time
                     28: remaining from  the previous call.  Time  remaining is superseded
                     29: by the new alarm value.
                     30: 
                     31: ***** See Also *****
                     32: 
                     33: COHERENT system calls, signal(), sleep()
                     34: 
                     35: 
                     36: 
                     37: 
                     38: 
                     39: 
                     40: 
                     41: 
                     42: 
                     43: 
                     44: 
                     45: 
                     46: 
                     47: 
                     48: 
                     49: 
                     50: 
                     51: 
                     52: 
                     53: 
                     54: 
                     55: 
                     56: 
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

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