#[unsafe(no_mangle)]pub unsafe fn zxio_maybe_faultable_copy_impl(
dest: *mut u8,
src: *const u8,
count: usize,
ret_dest: bool,
) -> boolExpand description
Provides an implementation for zxio’s zxio_maybe_faultable_copy that supports
catching faults.
See zxio’s zxio_maybe_faultable_copy documentation for more details.
§Safety
Only one of src/dest may be an address to a buffer owned by user/restricted-mode
(ret_dest indicates whether the user-owned buffer is dest when true).
The other must be a valid Starnix/normal-mode buffer that will never cause a fault
when the first count bytes are read/written.