Function posish::io::mmap [−][src]
pub unsafe fn mmap<Fd: AsFd>(
ptr: *mut c_void,
len: usize,
prot: ProtFlags,
flags: MapFlags,
fd: &Fd,
offset: u64
) -> Result<*mut c_void>
Expand description
mmap(fd, len, prot, flags, fd, offset)
Safety
Raw pointers and lots of special semantics.