OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: randomid(3)

From: Noriyuki Soda (sodasra.co.jp)
Date: Thu Sep 11 2003 - 08:54:06 CDT


>>>>> On Thu, 11 Sep 2003 20:47:50 +0700, Robert Elz <kremunnari.OZ.AU> said:

> I do see the ISC code using rand() to generate random numbers - there's
> no problem with that for this purpose (I didn't look hard enough to

No, there is a problem.
It's bad thing that libc functions use rand() (or random())
internally, because 3rd party applications (especially scientific
simulation software) want that their call to rand() returns same
random sequence.
--
soda