Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


sleep()                  General Function                 sleep()




Suspend execution for interval

sleep(seconds)
unsigned seconds;

sleep suspends execution for seconds.

***** Example *****

The following  example, called  godot.c, demonstrates how  to use
sleep.


main()
{
        printf("Waiting for Godot ...\n");



        for ( ; ; ) {
                /* sleep for five seconds */
                sleep(5);
                printf("... still waiting ...\n");
        }
}


***** See Also *****

general functions


























COHERENT Lexicon                                           Page 1


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