summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/random.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix the leak for real (that's what I get for hacking when i can't sleep).millert2000-04-041-5/+7
|
* Fix an fd leak if the read from /dev/arandom fails. Pointed out bymillert2000-04-041-5/+5
| | | | Markus Friedl.
* Add srandomdev() from FreeBSD for use by sendmail and others.millert2000-04-031-1/+46
|
* More XPG4.2 --millert1998-02-071-9/+5
| | | | | setstate takes a const parameter don't ever spew to stderr, just return NULL
* size_t n in initstate(); XPGderaadt1998-02-061-2/+2
|
* Remove dead codetholo1996-09-151-3/+2
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* Substantially improve random number generation by using the largest primetholo1996-03-301-9/+21
| | | | | that fits inside 32 bits as the denominator; take care not to overflow. Regenerate initial seed after replacing the generator
* initial import of NetBSD treederaadt1995-10-181-0/+364