shmget(1)

shmget1

Allocate a system v ipc shared memory segment

Usage

shmget [-k key] [{-c security_context | -s sid}] [-b size_in_bytes]

Overview

shmget allocates a shared memory segment (creating it if necessary.) The id of the memory segment allocted is printed to standard output.

Options

-k

Key. Allocate a memory segment with the specified key.

-c

Security Context. Allocate a memory segment with the specified security context.

-s

Security Identifier. Allocate a memory segment with the specified security identifier.

-b

Size in Bytes. The size of the memory segment (in bytes) to create if a segment with the given key does not already exist.

From selinux 2002031409-4 in Debian 3.0 (Woody). Parsed by carta from the page's man source.