Skip to main content

init_shm_layout

Function init_shm_layout 

Source
pub unsafe fn init_shm_layout(ptr: *mut u8, size: usize)
Expand description

Zero-initialize the entire shared-memory region and write the header.

ยงSafety

ptr must be a valid pointer to a memory region of size bytes.