(Slightly different from UNIX function)
unsigned sleep(); diff = sleep( howlong );
When "sleep" is executed, the current program will be suspended from execution for "howlong" seconds. The actual sleep time may be less than the requested length if the program is awoken prematurely by some kind of "signal". It may also be longer than the requested time if the load on the system delays your program from restarting exactly on time.
A call to "sleep" automatically flushes buffered output to all terminals. Contrast this with
which flushes buffered output to all output streams, whether or not they're terminals.
expl c lib fflush
expl nsc lib fflush
Copyright © 1996, Thinkage Ltd.