*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: sleep | Section: 3 | Source: Digital UNIX | File: sleep.3.gz
sleep(3) Library Functions Manual sleep(3) NAME sleep - Suspends execution for an interval of time LIBRARY Standard C Library (libc.a) Threads Library (libpthreads.a) SYNOPSIS #include <unistd.h> unsigned int sleep ( unsigned int seconds ); STANDARDS Interfaces documented on this reference page conform to industry stan- dards as follows: sleep(): XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about in- dustry standards and associated tags. PARAMETERS Specifies the number of seconds to sleep. DESCRIPTION The sleep() function suspends execution of a process for the interval specified by the seconds parameter. The suspension time may be longer than requested due to the scheduling of other activity by the system. In a multi-threaded environment, the sleep() function is redefined so that only the calling thread is suspended. RETURN VALUES If the sleep() function returns because the requested time has elapsed, it returns 0 (zero). If the sleep() function returns because it caught a signal, the function returns the number of seconds remaining in the suspension. RELATED INFORMATION Commands: wall(1), shutdown(8) sleep(1) Functions: sigaction(2), alarm(3), pause(3) Standards: standards(5) delim off sleep(3)

Navigation Options