[−][src]Function linux::syscall::getrandom
pub fn getrandom(buf: &mut [d8], flags: c_uint) -> c_int
Retrieves random bytes from the system.
[argument, buf] The buffer in which the bytes will be stored.
[argument, flags] Flags used while retrieving the data.
[return_value] Returns the number of bytes read or an error value.
= See also
- link:man:getrandom(2)