[libdispatch-dev] [PATCH] arc4random

Mario Schwalbe schwalbe at inf.tu-dresden.de
Thu Nov 19 04:42:01 PST 2009


Hi,

Paolo Bonzini schrieb:
> On 11/19/2009 09:35 AM, Robert Watson wrote:
>> The temptation would be to provide a compat shim for sranddev() for
>> systems that don't implement it.
> Makes sense, but what's wrong with just using srand? :-)

I aggree. sranddev() isn't present on Linux. There's only srand(),
and rand() and rand_r(), of course.

ciao,
Mario



More information about the libdispatch-dev mailing list