Re: random(3) in OpenBSD

2023-11-14 Thread Corinna Vinschen
Hi Bruno, On Nov 14 19:33, Bruno Haible wrote: > [CCing bug-gnulib] > > Hi Corinna, > > > Looking into all the BSD variants of random(), I found that OpenBSD > > defaults the random() function to return non-deterministic output. It > > works like this: > > > > - A global var random_determinis

Re: random(3) in OpenBSD

2023-11-14 Thread Bruno Haible
[CCing bug-gnulib] Hi Corinna, > Looking into all the BSD variants of random(), I found that OpenBSD > defaults the random() function to return non-deterministic output. It > works like this: > > - A global var random_deterministic defaults to 0. > - Calls to srandom() set random_deterministic