Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Xr and Ox fixes; | jmc | 2014-12-09 | 1 | -4/+6 |
| | |||||
* | Change rand(), random(), drand48(), lrand48(), mrand48(), and srand48() | deraadt | 2014-12-08 | 1 | -54/+56 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | Don't describe random() as "better". | millert | 2014-11-25 | 1 | -5/+5 |
| | | | | | Remove the bug about rand() being faster. Add a bug about historical implementations seeding very poorly. | ||||
* | zap trailing whitespace; | jmc | 2014-07-18 | 1 | -3/+3 |
| | |||||
* | it is 2014, and we still need to encourage people away from srand() | deraadt | 2014-07-17 | 1 | -2/+8 |
| | | | | and random(). Sigh. | ||||
* | oops, i deleted the wrong word | tedu | 2014-07-13 | 1 | -2/+2 |
| | |||||
* | remove a lie spotted by guenther | tedu | 2014-07-13 | 1 | -5/+4 |
| | |||||
* | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | tedu | 2013-06-05 | 1 | -3/+3 |
| | |||||
* | Improve standards conformance: ecvt(), fcvt(), gcvt(), mktemp(), ttyslot(), | guenther | 2012-06-01 | 1 | -3/+3 |
| | | | | | | | and valloc() are not in the current version, while posix_memalign() mkstemp(), and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'. ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@ | ||||
* | convert to new .Dd format; | jmc | 2007-05-31 | 1 | -2/+2 |
| | |||||
* | Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a time | otto | 2005-11-30 | 1 | -4/+3 |
| | | | | | | | and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@ | ||||
* | Remove the advertising clause in the UCB license which Berkeley | millert | 2003-06-02 | 1 | -6/+2 |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | - section reorder | jmc | 2003-06-01 | 1 | -3/+3 |
| | | | | | - merge COMPATIBILITY - kill whitespace at EOL | ||||
* | typos; | jmc | 2003-05-10 | 1 | -4/+4 |
| | |||||
* | Initial idea from aaron@: Last char of .Xr group in SEE ALSO section should | mpech | 2001-09-06 | 1 | -2/+2 |
| | | | | | | be a single digit. Powered by mantoya@. millert@ ok. | ||||
* | remove confusing comparison with srand (it does not return the old seed) | assar | 2001-06-09 | 1 | -11/+3 |
| | | | | use .Sh AUTHORS and .An for author | ||||
* | Flesh out stdlib function man pages. | aaron | 2000-04-20 | 1 | -17/+22 |
| | |||||
* | Add srandomdev() from FreeBSD for use by sendmail and others. | millert | 2000-04-03 | 1 | -2/+23 |
| | |||||
* | Max value returned is 2^31 - 1, regardless of the arch-dependent LONG_MAX. | pjanzen | 2000-01-19 | 1 | -7/+1 |
| | |||||
* | trash some old leftover macros and replace them with -mdoc macros | aaron | 1999-07-04 | 1 | -9/+4 |
| | |||||
* | first round of repairs on stdlib | aaron | 1999-06-29 | 1 | -7/+7 |
| | |||||
* | remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common | aaron | 1999-05-23 | 1 | -2/+2 |
| | | | | is used instead; kwesterback@home.com | ||||
* | add .Xr's for all the random functions in libc | millert | 1998-07-05 | 1 | -1/+2 |
| | |||||
* | More XPG4.2 -- | millert | 1998-02-07 | 1 | -4/+14 |
| | | | | | setstate takes a const parameter don't ever spew to stderr, just return NULL | ||||
* | size_t n in initstate(); XPG | deraadt | 1998-02-06 | 1 | -2/+2 |
| | |||||
* | Fix RCS ids | tholo | 1996-08-19 | 1 | -2/+1 |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | document largest possible value; netbsd pr#2338; from ↵ | deraadt | 1996-05-04 | 1 | -1/+7 |
| | | | | banshee@gabriella.resort.com | ||||
* | initial import of NetBSD tree | deraadt | 1995-10-18 | 1 | -0/+167 |