1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/games/random
John Baldwin 59c2bcbae9 Correct an error in the previous revision. RAND_MAX is the maximum value
for rand(3), not random(3).  random(3) is defined to return values between
0 and 2^31-1, so add a local RANDOM_MAX constant to this file that is
defined as 2^31-1 and use that in place of RAND_MAX.

Reviewed by:	bde
Approved by:	re (dwhite)
MFC after:	1 week
2005-06-22 15:24:00 +00:00
..
Makefile flexlint rears its head as well as some style(9) fixes[1]. Fixed a 2003-02-15 10:26:10 +00:00
random.6 Sort sections. 2005-01-18 08:57:18 +00:00
random.c Correct an error in the previous revision. RAND_MAX is the maximum value 2005-06-22 15:24:00 +00:00
randomize_fd.c flexlint rears its head as well as some style(9) fixes[1]. Fixed a 2003-02-15 10:26:10 +00:00
randomize_fd.h flexlint rears its head as well as some style(9) fixes[1]. Fixed a 2003-02-15 10:26:10 +00:00