summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/rand.c
Commit message (Expand)AuthorAgeFilesLines
* Style fix noted by bde@ache2013-07-041-4/+8
* After fixing ranges restore POSIX requirement: rand() call withoutache2013-07-041-1/+6
* In addition to prev. commit, for repeated rand_r(3) calls don't forgetache2013-07-031-1/+5
* 1) POSIX requires rand(3) return values to be in the [0, RAND_MAX] range,ache2013-07-031-4/+16
* 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-21/+12
* Remove undefined behavior from sranddev() andeadler2012-10-091-2/+1
* libc: Use O_CLOEXEC for various internal file descriptors.jilles2012-09-291-1/+1
* Fix typo in the commentache2007-12-111-1/+1
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
* Back out "drop first N values" method of removing monotonically increasedache2003-02-171-7/+1
* Since we drop NSHUFF values now, set default seed to what it becomesache2003-02-051-3/+3
* For rand(3) and random(3) TYPE_0 drop NSHUFF values right after srand{om}()ache2003-02-041-1/+7
* Park & Miller PRNG can be safely initialized with any value but 0 and stuckache2003-02-031-1/+4
* For some combinations of variable sizes and RAND_MAX value rand_r()ache2003-02-021-2/+4
* Add missing #include "namespace.h".tjr2003-01-031-0/+1
* Fix the style of the SCM ID's.obrien2002-03-221-2/+2
* 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
* Add #include "un-namespace.h"ache2001-04-231-0/+1
* srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allowache2001-04-231-1/+1
* Add sranddev() since srand() is not vary much with seed, typical timeache2001-04-231-0/+34
* Use formula with better random distribution for rand()ache2001-02-271-0/+26
* Added Posix rand_r function.wes1999-05-241-1/+52
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+54
OpenPOWER on IntegriCloud