Random numbers:
*Random Number Generation
Due to the flaws of rand(), many other default implementations have emerged over the years. Among those are:
arc4random() (available on OS X and BSD)
random() (available on Linux)
drand48() (available on POSIX)