summaryrefslogtreecommitdiffstats
path: root/games/random/randomize_fd.h
Commit message (Collapse)AuthorAgeFilesLines
* flexlint rears its head as well as some style(9) fixes[1]. Fixed aseanc2003-02-151-11/+0
| | | | | | | | | few bugs for a few corner cases and correctly handle the case where read(2) is read()'ing from a non-file descriptor and could get fewer bytes back than the buffer, but it isn't EOF[2]. random(6) extensively tested and believed to be bug free (save performance for large files). Submitted by: mkm [1], tjr[2]
* Update random(6) to have the ability to randomize a file/stdin basedseanc2003-02-111-0/+56
off of lines or words. See the man page for details. Reviewed by: markm MFC after: 3 days
OpenPOWER on IntegriCloud