On Sat, Feb 03, 2001 at 04:27:56PM -0500, Ilya Zakharevich wrote:
> Thomas wrote:
>
> > I've added a configure check for dev.17 which will check for
> > srand/rand, srandom/random or srand48/lrand48 (in that order).
>
> Please put srand/rand to be the last one. IIRC, it is always worse
> than the alternatives.
I'm not an expert - I based my choice on the manpages on Linux (and compared
with Solaris, Digital Unix):
lrand48 NOTES
These functions are declared obsolete by SVID 3, which
states that rand(3) should be used instead.
random CONFORMING TO
BSD 4.3
rand CONFORMING TO
SVID 3, BSD 4.3, ISO 9899
--
Thomas E. Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]