|
|
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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.