pipcrm(1) pipcrm(1)
NAME [Toc] [Back]
pipcrm - remove a POSIX message queue or a POSIX named semaphore
SYNOPSIS [Toc] [Back]
pipcrm [option]...
DESCRIPTION [Toc] [Back]
The pipcrm command removes one or more specified POSIX message queue
or POSIX named semaphore.
Options [Toc] [Back]
The identifiers are specified by the following options:
-q msqname Unlinks the queue name from the message queue
specified by the argument, msqname. If there are
no processes with existing open descriptors for
the message queue, the queue is destroyed. If one
or more processes have the message queue open, the
removal of the queue is postponed until all
descriptors for the queue have been closed.
-s semname Unlinks the semaphore name from the semaphore
specified by the argument, semname. If there are
no processes with existing open descriptors for
the semaphore, the semaphore is destroyed. If one
or more processes have the semaphore open, the
removal of the semaphore is postponed until all
descriptors for the semaphore have been closed.
The details of the removals are described in mq_unlink(2), and
sem_unlink(2). The names can be found by using pipcs (see pipcs(1)).
SEE ALSO [Toc] [Back]
pipcs(1), mq_unlink(2), mq_open(2), mq_send(2), mq_receive(2),
sem_unlink(2), sem_open(2), sem_wait(2), sem_post(2).
STANDARDS CONFORMANCE [Toc] [Back]
pipcrm: NONE
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ] |