File:  [MW Coherent from dump] / coherent / a / usr / man / MULTI / sleep
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



sleep()                  General Function                 sleep()




Suspend execution for interval

sslleeeepp(_s_e_c_o_n_d_s)
uunnssiiggnneedd _s_e_c_o_n_d_s;

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



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.