Skip to main content

header_mut

Function header_mut 

Source
pub unsafe fn header_mut(ptr: *mut u8) -> &'static mut ShmHeader
Expand description

Returns a mutable reference to the header.

§Safety

ptr must point to a valid allocation containing at least ShmHeader’s size.