Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

alarm(2)

sleep(3)



  sleep(1)                            CLIX                            sleep(1)



  NAME

    sleep - Suspends execution for an interval

  SYNOPSIS

    sleep time

  DESCRIPTION

    The sleep command suspends execution for time seconds.  It is used to
    execute a command after a certain amount of time.

  EXAMPLES

    1.  To execute a command after a specific time interval, use this command
        line format:

        (sleep 105; command)&


    2.  To execute a command every so often:

        while true
        do
             command
             sleep 37
        done


  DIAGNOSTICS

    bad character in argument
           time is not numeric.

  EXIT VALUES

    The sleep command exits with a value of 2 if it encounters a problem.

  RELATED INFORMATION

    Functions: alarm(2), sleep(3)












  2/94 - Intergraph Corporation                                              1




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