diff --git a/legacy/preview0/docs.md b/legacy/preview0/docs.md index 634e304b..7603446c 100644 --- a/legacy/preview0/docs.md +++ b/legacy/preview0/docs.md @@ -2394,9 +2394,6 @@ Note: This is similar to [`sched_yield`](#sched_yield) in POSIX. Write high-quality random data into a buffer. This function blocks when the implementation is unable to immediately provide sufficient high-quality random data. -This function may execute slowly, so when large mounts of random data are -required, it's advisable to use this function to seed a pseudo-random -number generator, rather than to provide the random data directly. ##### Params - `buf`: `Pointer` diff --git a/legacy/preview0/witx/wasi_unstable.witx b/legacy/preview0/witx/wasi_unstable.witx index ee01abcf..96f5953d 100644 --- a/legacy/preview0/witx/wasi_unstable.witx +++ b/legacy/preview0/witx/wasi_unstable.witx @@ -466,9 +466,6 @@ ;;; Write high-quality random data into a buffer. ;;; This function blocks when the implementation is unable to immediately ;;; provide sufficient high-quality random data. - ;;; This function may execute slowly, so when large mounts of random data are - ;;; required, it's advisable to use this function to seed a pseudo-random - ;;; number generator, rather than to provide the random data directly. (@interface func (export "random_get") ;;; The buffer to fill with random data. (param $buf (@witx pointer u8)) diff --git a/legacy/preview1/docs.html b/legacy/preview1/docs.html index 2419ff3d..73528db3 100644 --- a/legacy/preview1/docs.html +++ b/legacy/preview1/docs.html @@ -1211,7 +1211,7 @@
Results

<a href="#random_get" name="random_get"></a> random_get(buf: Pointer<u8>, buf_len: size) -> errno

-

Write high-quality random data into a buffer.
This function blocks when the implementation is unable to immediately
provide sufficient high-quality random data.
This function may execute slowly, so when large mounts of random data are
required, it's advisable to use this function to seed a pseudo-random
number generator, rather than to provide the random data directly.

+

Write high-quality random data into a buffer.
This function blocks when the implementation is unable to immediately
provide sufficient high-quality random data.

Params