summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/rand.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Xr and Ox fixes;jmc2014-12-091-4/+6
|
* Change rand(), random(), drand48(), lrand48(), mrand48(), and srand48()deraadt2014-12-081-27/+49
| | | | | | | | | | | | | | | | | 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
* rand() is a pseudo-random number generatormillert2014-11-251-3/+3
|
* it is 2014, and we still need to encourage people away from srand()deraadt2014-07-171-3/+6
| | | | and random(). Sigh.
* Add some missing names to the NAME sections.schwarze2014-04-071-2/+3
| | | | | | For inet(3), go the other way, remove some bogus symlinks. Found while testing the new makewhatis(8). ok jmc@
* obvious .Pa fixes; found with mandocdb(8)schwarze2014-01-211-3/+3
|
* HISTORY; tweaks and ok sobrado@ jmc@schwarze2013-07-181-2/+9
|
* Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu2013-06-051-3/+3
|
* Update STANDARDS section for a few <stdlib.h> functionsguenther2012-06-021-5/+4
| | | | | | Update SYNOPSIS for setkey() to show it's in <stdlib.h> ok jmc@, millert@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* unsigned -> unsigned int; grange@rt.mipt.rumillert2001-05-131-2/+2
|
* Flesh out stdlib function man pages.aaron2000-04-201-5/+3
|
* first round of repairs on stdlibaaron1999-06-291-2/+2
|
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-1/+18
| | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
* add .Xr's for all the random functions in libcmillert1998-07-051-1/+3
|
* use Xr more oftenderaadt1998-04-281-2/+3
|
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+85