ipcrm

remove message queue, semaphore, or shared memory identifiers 

Command


SYNOPSIS

ipcrm [-m shmid] [-q msqid] [-s semid] [-M shmkey] [-Q msgkey] [-S semkey]


DESCRIPTION

ipcrm removes one or several messages, semaphores, or shared memory identifiers.

The identifiers and keys may be found by using ipcs. The details of removing identifiers are described in the reference pages for msgctl(), shmctl(), and semctl() in the MKS Toolkit UNIX APIs Reference Pages.

Options

-M shmkey  

removes the shared memory identifier, created with key shmkey, from the system. The shared memory segment and data structures associated with it are destroyed after the last detach.

-m shmid  

removes the shared memory identifier shmid from the system. The shared memory segment and data structures associated with it are destroyed after the last detach.

-Q msgkey  

removes the message queue identifier, created with key msgkey, from the system and destroys the message queue and data structures associated with it.

-q msqid  

removes the message queue identifier msqid from the system and destroys the message queue and data structures associated with it.

-S semkey  

removes the semaphore identifier, created with key semkey, from the system and destroys the set of semaphores and data structures associated with it.

-s semid  

removes the semaphore identifier semid from the system and destroys the set of semaphores and data structures associated with it.


AVAILABILITY

MKS Toolkit for Power Users
MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
ipcs

Functions:
msgctl(), msgget(), semctl(), semget(), semop(), shmctl(), shmget()


MKS Toolkit 9.3 Documentation Build 6.