Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 1996 15:02:42 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        jmacd@CS.Berkeley.EDU (Josh MacDonald)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: rand() and random()
Message-ID:  <199610022202.PAA04883@phaeton.artisoft.com>
In-Reply-To: <199610021921.MAA03816@paris.CS.Berkeley.EDU> from "Josh MacDonald" at Oct 2, 96 12:21:08 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm curious why rand() still exists.  Everyone knows its really
> bad.  Why not just ditch it in favor of random()?

Because it is ANSI conrfmant (man rand).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610022202.PAA04883>