title: Is there an alternative sleep function in C to milliseconds?
body: <p>I have some source code that was compiled on Windows. I am converting it to run on Red Hat Linux. </p>
  
  <p>The source code has included the <code>&lt;windows.h&gt;</code> header file and the programmer has used the <code>Sleep()</code> function to wait for a period of milliseconds. This won't work on the Linux.</p>
  
  <p>However, I can use the <code>sleep(seconds)</code> function, but that uses integer in seconds. I don't want to convert milliseconds to seconds. Is there a alternative sleep function that I can use with gcc compiling on Linux?</p>