Function rustix::io::mprotect

pub unsafe fn mprotect(ptr: *mut c_void, len: usize, flags: MprotectFlags) -> io::Result<()>
Documentation

mprotect(ptr, len, flags)

Safety

Raw pointers and lots of special semantics.

References