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 PTC 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

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


SEE ALSO

Commands:
ipcs

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


PTC MKS Toolkit 10.4 Documentation Build 39.