arc4random() on all BSDs getrandom() on GNU/Linux, BSDs, Bionic