Query: sleep
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sleep(3) Library Functions Manual sleep(3)NAMEsleep - Suspends execution for an interval of timeLIBRARYStandard C Library (libc.a) Threads Library (libpthreads.a)SYNOPSIS#include <unistd.h> unsigned int sleep ( unsigned int seconds );STANDARDSInterfaces documented on this reference page conform to industry standards as follows: sleep(): XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associated tags.PARAMETERSSpecifies the number of seconds to sleep.DESCRIPTIONThe 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 VALUESIf 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 INFORMATIONCommands: wall(1), shutdown(8) sleep(1) Functions: sigaction(2), alarm(3), pause(3) Standards: standards(5) delim off sleep(3)
Related Man Pages |
---|
sleep(3) - osx |
sleep(3c) - sunos |
sleep(3) - ultrix |
sleep(3c) - hpux |
sleep(3) - osf1 |
Similar Topics in the Unix Linux Community |
---|
system sleep |
Which is more efficient - sleep or infinite while? |
How to sleep and wake a thread??? |
problem with sleep cmd in execution of cron... |
Send sleep to background |