twizzler_rt_abi::bindings

Function twz_rt_get_random

source
pub unsafe extern "C-unwind" fn twz_rt_get_random(
    buf: *mut c_char,
    len: usize,
    flags: get_random_flags,
) -> usize
Expand description

Collect up to len bytes of randomness, filling buf. Returns the number of bytes of random data actually collected.