semget1
Allocate a system v ipc semaphore set
Usage
semget [-k
key]
[{-c
security_context | -s
sid}]
[-n
num_semaphores]
Overview
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.