Annotation of cci/usr/src/man/man3/sleep.3, revision 1.1.1.1

1.1       root        1: .TH SLEEP 3  "19 January 1983"
                      2: .UC 4
                      3: .SH NAME
                      4: sleep \- suspend execution for interval
                      5: .SH SYNOPSIS
                      6: .nf
                      7: .B sleep(seconds)
                      8: .B unsigned seconds;
                      9: .fi
                     10: .SH DESCRIPTION
                     11: The current process is suspended from execution for the number
                     12: of seconds specified by the argument.
                     13: The actual suspension time may be up to 1 second less than
                     14: that requested, because scheduled wakeups occur at fixed 1-second intervals,
                     15: and an arbitrary amount longer because of other activity
                     16: in the system.
                     17: .PP
                     18: The routine is implemented by setting an interval timer
                     19: and pausing until it occurs.
                     20: The previous state of this timer is saved and restored.
                     21: If the sleep time exceeds the time to the expiration of the
                     22: previous timer,
                     23: the process sleeps only until the signal would have occurred, and the
                     24: signal is sent 1 second later.
                     25: .SH "SEE ALSO"
                     26: setitimer(2), sigpause(2)
                     27: .SH BUGS
                     28: An interface with finer resolution is needed.

unix.superglobalmegacorp.com

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