| IPCRM(1) | General Commands Manual | IPCRM(1) |
ipcrm — remove the
specified message queues, semaphore sets, and shared memory
segments
ipcrm |
[-M shmkey]
[-m shmid]
[-Q msgkey]
[-q msqid]
[-S semkey]
[-s semid] ... |
ipcrm removes the specified message
queues, semaphores, and shared memory segments. These System V IPC objects
can be specified by their creation ID or any associated key.
The options are as follows:
-M
shmkeyshmkey for removal. This marked segment will be
destroyed after the last detach.-m
shmidshmid for removal. This marked segment will be
destroyed after the last detach.-Q
msgkeymsgkey from the system.-q
msqidmsqid from the system.-S
semkeysemkey from the system.-s
semidsemid
from the system.The identifiers and keys associated with these System V IPC objects can be determined by using ipcs(1).
The ipcrm utility exits 0 on
success, and >0 if an error occurs.
The ipcrm utility is compliant with the
X/Open System Interfaces option of the IEEE Std 1003.1-2008
(“POSIX.1”) specification.
| September 9, 2015 | openbsd |