Function shm_open_anonymous::shm_open_anonymous [−][src]
pub fn shm_open_anonymous() -> c_int
Creates an anonymous POSIX shared memory object.
On success, returns a new file descriptor as if by shm_open
.
The file descriptor is unnamed and cannot be unlinked.
On failure, returns -1 and sets errno
.
Depending on operating system, this function may use an OS-specific system call for creating the memory object, or it may use a generic POSIX implementation.