Query: sleep
OS: opensolaris
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sleep(3C) Standard C Library Functions sleep(3C)NAMEsleep - suspend execution for an interval of timeSYNOPSIS#include <unistd.h> unsigned int sleep(unsigned int seconds);DESCRIPTIONThe caller is suspended from execution for the number of seconds specified by the argument. The actual suspension time may be less than that requested because any caught signal will terminate the sleep() following execution of that signal's catching routine. The suspension time may be longer than requested by an arbitrary amount because of the scheduling of other activity in the system. The value returned by sleep() will be the ``unslept'' amount (the requested time minus the time actually slept) if the caller incurred premature arousal because of a caught signal. The use of the sleep() function has no effect on the action or blockage of any signal. In a multithreaded process, only the invoking thread is suspended from execution.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Async-Signal-Safe | +-----------------------------+-----------------------------+ |Standard |See standards(5). | +-----------------------------+-----------------------------+SEE ALSOnanosleep(3C), attributes(5), standards(5) SunOS 5.11 5 Feb 2008 sleep(3C)
Related Man Pages |
---|
sleep(3c) - opensolaris |
sleep(3) - osx |
nanosleep(3rt) - sunos |
sleep(1) - sunos |
usleep(3c) - sunos |
Similar Topics in the Unix Linux Community |
---|
sleep command |
High kernel usage using sleep |
IP# Strangeness Please Help |
Wrapping 'sleep' with my 'resleep' function (Resettable sleep) |
problem with sleep cmd in execution of cron... |