sleep man page on SunOS

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

sleep(3C)		 Standard C Library Functions		     sleep(3C)

NAME
       sleep - suspend execution for an interval of time

SYNOPSIS
       #include <unistd.h>

       unsigned int sleep(unsigned int seconds);

DESCRIPTION
       The caller is suspended from execution for the number of seconds speci‐
       fied by the argument. The actual suspension time may be less than  that
       requested  because any caught signal will terminate the sleep() follow‐
       ing 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.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Standard			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │Async-Signal-Safe		   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       nanosleep(3RT), attributes(5), standards(5)

SunOS 5.10			  16 Mar 2005			     sleep(3C)
[top]

List of man pages available for SunOS

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