diff options
author | dds <dds@FreeBSD.org> | 2006-11-06 10:30:29 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2006-11-06 10:30:29 +0000 |
commit | f4df3d376b390d38cec1fc4e4eb4d5f3b8254d85 (patch) | |
tree | 3562aeff409349f9e9b5c31d99ff32bc1e144e2b /usr.bin/jot/jot.1 | |
parent | e9549fc27653ea1b3477df4090e58596a0bbfe6c (diff) | |
download | FreeBSD-src-f4df3d376b390d38cec1fc4e4eb4d5f3b8254d85.zip FreeBSD-src-f4df3d376b390d38cec1fc4e4eb4d5f3b8254d85.tar.gz |
Restore jot's ability to use a seed for producing a deterministic
sequence of random numbers.
This functionality was lost in revision 1.9 when the random number
generator was switched to arc4random.
PR: docs/54879
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/jot/jot.1')
-rw-r--r-- | usr.bin/jot/jot.1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/jot/jot.1 b/usr.bin/jot/jot.1 index 97cd8f3..8ba90a2 100644 --- a/usr.bin/jot/jot.1 +++ b/usr.bin/jot/jot.1 @@ -139,7 +139,11 @@ representing the corresponding value in The last argument must be a real number. .Pp Random numbers are obtained through -.Xr random 3 . +.Xr arc4random 3 +when no seed is specified, +and through +.Xr random 3 +when a seed is given. The name .Nm derives in part from |