Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>msleep</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
msleep

Usage

   #include <time.h>
   void msleep(long milliseconds);

Description

   Suspends execution of the program for the specified number of
   milliseconds. The granularity depends on the operating system.

Example 

   #include <stdio.h>
   #include <time.h>
   #include <stdlib.h>

   int main()
   {
       printf("Going to sleep for 10 seconds\n");
       msleep(10000);
       printf("OK, back again now\n");
       return EXIT_SUCCESS;
   }

See Also

   sleep, sleep, usleep usleep


See Also: sleep sleep usleep usleep

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