summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/random.c
Commit message (Collapse)AuthorAgeFilesLines
* srandomdev: use stack junk value in the fallback code tooAndrey A. Chernov1997-06-151-2/+3
| | | | Notes: svn path=/head/; revision=26665
* Instead of copying fallback code over and over in each program,Andrey A. Chernov1997-06-141-9/+16
| | | | | | | | | implement (better) falback code inside srandomdev() itself. Change return type from int to void (binary compatibility surprisely achieved). Userland code will be changed soon. Notes: svn path=/head/; revision=26624
* Remove orand* code as promised for the next releaseAndrey A. Chernov1997-03-291-8/+3
| | | | Notes: svn path=/head/; revision=24390
* Fix urandom reference in the commentAndrey A. Chernov1997-03-231-1/+1
| | | | Notes: svn path=/head/; revision=24154
* Add srandomdev() function (use "/dev/urandom" now)Andrey A. Chernov1997-03-231-0/+40
| | | | | | | Submitted by: wollman & me (add type casts and remove unneded loop) Notes: svn path=/head/; revision=24151
* Merge Lite2 changesPeter Wemm1997-03-111-30/+68
| | | | Notes: svn path=/head/; revision=23662
* Improve seeding, the random sequence did not vary matchAndrey A. Chernov1996-10-091-5/+55
| | | | | | | with the seed. Old variant will be available via libcompat soon. Notes: svn path=/head/; revision=18832
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-3/+3
| | | | Notes: svn path=/head/; revision=8870
* u_int -> unsigned int, so that we don't have to include <sys/types.h>Bruce Evans1994-09-051-2/+2
| | | | | | | or depend on <stdio.h> bogusly including it. Notes: svn path=/head/; revision=2504
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+363
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573