Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sleep(C) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(S)

sleep(S)



     SLEEP(C)                 XENIX System V                  SLEEP(C)



     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.






























     Page 1                                           (printed 8/7/87)



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