Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>sleep() suspend execution for interval</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
sleep()                  Suspend Execution for Interval

 #include   <dos.h>

 unsigned   sleep(seconds);
 unsigned   seconds;                     Number of seconds

    sleep() suspends the current program from execution for the number of
    seconds specified by 'seconds'.  The interval is accurate only to the
    nearest hundredth of a second, or the accuracy of the MS-DOS clock,
    whichever is less accurate.

    Returns:    There is no return value.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson