|
|
1.1 ! root 1: ! 2: ! 3: sleep() General Function sleep() ! 4: ! 5: ! 6: ! 7: ! 8: Suspend execution for interval ! 9: ! 10: sslleeeepp(_s_e_c_o_n_d_s) ! 11: uunnssiiggnneedd _s_e_c_o_n_d_s; ! 12: ! 13: sleep suspends execution for seconds. ! 14: ! 15: ***** Example ***** ! 16: ! 17: The following example, called godot.c, demonstrates how to use ! 18: sleep. ! 19: ! 20: ! 21: main() ! 22: { ! 23: printf("Waiting for Godot ...\n"); ! 24: ! 25: ! 26: ! 27: for ( ; ; ) { ! 28: /* sleep for five seconds */ ! 29: sleep(5); ! 30: printf("... still waiting ...\n"); ! 31: } ! 32: } ! 33: ! 34: ! 35: ***** See Also ***** ! 36: ! 37: general functions ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.