lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> On Mac OS X the man page reads:
>      These interfaces are obsoleted by arc4random(3).
> 
> I'd bet my bottom-dollar rand is calling arc4random() internally.  I
> bet you my next paycheck rand() as an interface is deprecated to keep
> people from using it on older systems with poorer implementations :-)

Please send me a check. :-)

https://www.opensource.apple.com/source/Libc/Libc-320.1.3/stdlib/FreeBSD/rand.c