title: Is it safe to use usleep in Ubuntu with value greater than 1000000
body: <p>I saw in <a href="http://linux.die.net/man/3/usleep" rel="nofollow noreferrer">usleep man</a> that :</p>
  <pre><code>EINVAL
  usec is not smaller than 1000000. (On systems where that is considered an error.) 
  </code></pre>
  <p>So i wonder if its ok to use usleep in <strong>Ubuntu</strong> with value greater than 1000000 and if not (or in case that i want to support other platforms ) what is the alternative when i need sleep for 2.2 sec (for example) .</p>
  <p>Thank you.</p>