diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2021-08-16 21:08:44 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2021-08-16 21:08:44 +0000 |
commit | 5fbd329cbcb0078fc787467703a2581935405b7e (patch) | |
tree | 7a876c5b4c3deaa01e0747d3a78c83d0424dfe0b /doc | |
parent | cbde70fafd0ab9353e79b708621adf73420fdded (diff) | |
download | sg3_utils-5fbd329cbcb0078fc787467703a2581935405b7e.tar.gz |
sg_dd: don't use srand48_r() and mrand48_r() as they are GNU extensions. Use the non-reentrant versions instead
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@909 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sg_dd.8 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sg_dd.8 b/doc/sg_dd.8 index 7d931b6d..23c3246e 100644 --- a/doc/sg_dd.8 +++ b/doc/sg_dd.8 @@ -1,4 +1,4 @@ -.TH SG_DD "8" "April 2021" "sg3_utils\-1.47" SG3_UTILS +.TH SG_DD "8" "August 2021" "sg3_utils\-1.47" SG3_UTILS .SH NAME sg_dd \- copy data to and from files and devices, especially SCSI devices @@ -394,7 +394,7 @@ random this flag is only active with \fIiflag=\fR and when given replaces \fIif=IFILE\fR. If both are given an error is generated. The input will be a stream of pseudo random bytes. The Linux getrandom(2) system call is -used to create a seed and thereadter mrand48_r(3) is used to generate a +used to create a seed and thereadter mrand48(3) is used to generate a pseudo random sequence, 4 bytes at a time. The quality of the randomness can be viewed with the ent(1) utility. This is not a high quality random number generator, it is built for speed, not quality. One application is |