Skip to main content

getrandom

Function getrandom 

Source
pub unsafe fn getrandom(
    buf: *mut c_void,
    buflen: usize,
    flags: u32,
) -> Result<usize>
Expand description

ยงSafety

buf must be valid for writes of buflen bytes.