Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sleep(C) — OpenDesktop 1.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(S)

sleep(S)


     SLEEP(C)                             UNIX System V



     Name
          sleep - suspends execution for an interval


     Syntax
          sleep time


     Description
          sleep suspends execution for time seconds.  It  is  used  to
          execute a command after a certain amount of time as in:

               (sleep 105; command)&

          or to execute a command every so often, as in:

               while true
               do
                    command
                    sleep 37
               done


     See Also
          alarm(S), sleep(S)


     Notes
          It is recommended that time be less than 65536 seconds.   If
          this  amount  is  exceeded,  time will be arbitrarily set to
          some value less than 65536 seconds.


     Standards Conformance
          sleep is conformant with:
          AT&T SVID Issue 2, Select Code 307-127;
          and The X/Open Portability Guide II of January 1987.


     (printed 2/15/90)                                   SLEEP(C)










































































































































































































































































































































































































































































































































































Typewritten Software • bear@typewritten.org • Edmonds, WA 98026