summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.c
Commit message (Expand)AuthorAgeFilesLines
* Micro optimize: C standard guarantees that right shift for unsigned valueache2016-05-291-1/+1
* 1) Unifdef USE_WEAK_SEEDING it is too obsolete to support and makes readingache2016-05-291-46/+14
* 1) POSIX prohibits printing errors to stderr here and requireache2016-05-221-15/+10
* Renumber clauses to reduce diffs to other versionsemaste2013-06-131-1/+1
* Replace access to /dev/random with the kernel pseudo-random numberdelphij2013-04-021-27/+15
* Remove undefined behavior from sranddev() andeadler2012-10-091-2/+1
* libc: Use O_CLOEXEC for various internal file descriptors.jilles2012-09-291-1/+1
* Slight stylification.des2012-09-281-18/+11
* Make 'junk' volatile so that compilers won't be tempted to optimizekevlo2012-08-171-1/+1
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
* Use 'uint32_t' instead of 'long' when a 32-bit integer is intended.das2004-01-201-31/+32
* For type 0 rng lower initial drop to 50, it is enough to hide linearityache2003-08-101-1/+5
* For rand(3) and random(3) TYPE_0 drop NSHUFF values right after srand{om}()ache2003-02-041-5/+8
* Park & Miller PRNG can be safely initialized with any value but 0 and stuckache2003-02-031-1/+4
* Fix the style of the SCM ID's.obrien2002-03-221-3/+2
* Remove __P() usage.obrien2002-03-211-1/+1
* Remove 'register' keyword.obrien2002-03-211-11/+11
* Add a long-overdue nail to the deprecated /dev/urandom interfacemarkm2001-10-301-1/+1
* urandom(4) -> random(4) in comments.dd2001-06-071-1/+1
* srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allowache2001-04-231-1/+1
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-241-0/+2
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),jasone2000-01-271-3/+3
* Add three-tier symbol naming in support of POSIX thread cancellationjasone2000-01-121-3/+3
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
* srandomdev: use stack junk value in the fallback code tooache1997-06-151-2/+3
* Instead of copying fallback code over and over in each program,ache1997-06-141-9/+16
* Remove orand* code as promised for the next releaseache1997-03-291-8/+3
* Fix urandom reference in the commentache1997-03-231-1/+1
* Add srandomdev() function (use "/dev/urandom" now)ache1997-03-231-0/+40
* Merge Lite2 changespeter1997-03-111-30/+68
* Improve seeding, the random sequence did not vary matchache1996-10-091-5/+55
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
* u_int -> unsigned int, so that we don't have to include <sys/types.h>bde1994-09-051-2/+2
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+363
OpenPOWER on IntegriCloud