Function cloudabi::random_get
[−]
[src]
pub unsafe fn random_get(buf_: &mut [u8]) -> errno
Obtains random data from the kernel random number generator.
As this interface is not guaranteed to be fast, it is advised that the random data obtained through this system call is used as the seed for a userspace pseudo-random number generator.
Parameters
buf: The buffer that needs to be filled with random data.