Reference

semget(1)

allocate a System V IPC semaphore set

NAME

semget - allocate a System V IPC semaphore set

SYNOPSIS

semget [-k key] [-c security_context | -s sid] [-n num_semaphores]

DESCRIPTION

semget allocates a semaphore set (creating it if necessary.)

OPTIONS

-k

Key. Allocate a semaphore set with a specific key.

-c

Security Context. Allocate a semaphore set with the given security context. -s Security Identifier. Allocate a semaphore set with the given security identifier.

-n

Number of Semaphores. The number of semaphores to allocate as a set if the set does not exist.

SEE ALSO

semsid(1), semread(1), semwrite(1), semperm(1), semget(2), semget_secure(2).