summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/mrand48.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move the __rand48_* declarations into rand48.h, and then hide both themguenther2015-08-271-3/+1
| | | | | | and __dorand48() and __rand48_deterministic ok deraadt@
* more standardsier: cast to int to make sure we keep the negative numbers.tedu2014-12-091-2/+2
| | | | observed by jonas termansen
* Change rand(), random(), drand48(), lrand48(), mrand48(), and srand48()deraadt2014-12-081-1/+3
| | | | | | | | | | | | | | | | | to returning strong random by default, source from arc4random(3). Parameters to the seeding functions are ignored, and the subsystems remain in strong random mode. If you wish the standardized deterministic mode, call srand_deterministic(), srandom_determistic(), srand48_deterministic(), seed48_deterministic() or lcong48_deterministic() instead. The re-entrant functions rand_r(), erand48(), nrand48(), jrand48() are unaffected by this change and remain in deterministic mode (for now). Verified as a good roadmap forward by auditing 8800 pieces of software. Roughly 60 pieces of software will need adaptation to request the deterministic mode. Violates POSIX and C89, which violate best practice in this century. ok guenther tedu millert
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* Fix RCS idstholo1996-08-191-0/+4
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+23