mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 04:53:28 +00:00
59c2bcbae9
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 |
||
---|---|---|
.. | ||
Makefile | ||
random.6 | ||
random.c | ||
randomize_fd.c | ||
randomize_fd.h |