Unix/Linux Go Back    

Unix Version 7 - man page for sleep (v7 section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

SLEEP(3)										 SLEEP(3)

       sleep - suspend execution for interval

       unsigned seconds;

       The current process is suspended from execution for the number of seconds specified by the
       argument.  The actual suspension time may be up to 1  second  less  than  that  requested,
       because	scheduled  wakeups  occur  at  fixed  1-second intervals, and an arbitrary amount
       longer because of other activity in the system.

       The routine is implemented by setting an alarm clock signal and pausing until  it  occurs.
       The  previous  state  of this signal is saved and restored.  If the sleep time exceeds the
       time to the alarm signal, the process sleeps only until the signal  would  have	occurred,
       and the signal is sent 1 second later.

       alarm(2), pause(2)

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 01:50 PM.