unsafe fn memset_fallible(dst: *mut u8, value: u8, len: usize) -> usizeExpand description
Fills len bytes of memory at dst with the specified value.
This function will early stop filling if encountering an unresolvable page fault.
Returns the number of successfully set bytes.
dstmust either be [valid] for writes oflenbytes or be in user space forlenbytes