title: Is there a system call for random numbers?
body: <p>As everyone knows, if you want a truly random number (perhaps to pass to <code>srand()</code>), you open <code>/dev/random</code> or <code>/dev/urandom</code> and read a few bytes.  But is there a lighter-weight way to do it, perhaps a system call?</p>
  
  <p>[P.S. Yes, I know, opening and reading <code>/dev/random</code> isn't going to take very long, either.  But I'm just wondering if there are other options.]</p>