⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

shm_open

Function shm_open 

Source
pub fn shm_open(
    name: &str,
    flags: ShmOpenFlags,
    owner: ProcessId,
) -> KernelResult<u64>
Expand description

Create or open a named shared memory object.

Returns the object ID on success. The object starts with size 0; use shm_truncate() to set its size before mapping.