sleep man page on 4.4BSD

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

SLEEP(3)		 BSD Library Functions Manual		      SLEEP(3)

     sleep — suspend process execution for interval of seconds

     #include <unistd.h>

     sleep(u_int seconds);

     The sleep() function suspends execution of the calling process for
     seconds of time.  System activity or time spent in processing the call
     may lengthen the sleep by a second.

     If a timer is already running on the process its state is saved.  If the
     value seconds is more than or equal to the remaining clock time for the
     saved timer, the sleep time is set to the remaining clock time.  The
     state of the previous timer is restored after seconds has passed.

     This function is implemented using setitimer(2); it requires eight system
     calls each time it is invoked.  A similar but less compatible function
     can be obtained with a single select(2); such a function would not
     restart after signals, but would not interfere with other uses of

     setitimer(2), sigpause(2), usleep(3)

     A sleep() function appeared in Version 7 AT&T UNIX.

BSD				 June 4, 1993				   BSD

List of man pages available for 4.4BSD

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]
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