]> git.saurik.com Git - apple/file_cmds.git/blame - ipcrm/ipcrm.1
file_cmds-321.100.10.0.1.tar.gz
[apple/file_cmds.git] / ipcrm / ipcrm.1
CommitLineData
c59d3020
A
1.\" Copyright (c) 1994 Adam Glass
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. The name of the Author may not be used to endorse or promote products
10.\" derived from this software without specific prior written permission.
11.\"
12.\" THIS SOFTWARE IS PROVIDED BY Adam Glass ``AS IS'' AND
13.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15.\" ARE DISCLAIMED. IN NO EVENT SHALL Adam Glass BE LIABLE
16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22.\" SUCH DAMAGE.
23.\"
864a4b6e 24.\" $Id: ipcrm.1,v 1.3 2005/04/12 23:51:24 nicolai Exp $
c59d3020
A
25.\""
26.Dd August 8, 1994
27.Dt ipcrm 1
28.Os
29.Sh NAME
30.Nm ipcrm
31.Nd remove the specified message queues, semaphore sets, and shared memory
32segments
33.Sh SYNOPSIS
864a4b6e
A
34.Nm ipcrm
35.Op Fl M Ar shmkey
c59d3020 36.Op Fl m Ar shmid
c59d3020 37.Op Fl Q Ar msgkey
864a4b6e 38.Op Fl q Ar msqid
c59d3020 39.Op Fl S Ar semkey
864a4b6e 40.Op Fl s Ar semid
c59d3020
A
41.Ar ...
42.Sh DESCRIPTION
43.Nm Ipcrm
44removes the specified message queues, semaphores and shared memory
45segments. These System V IPC objects can be specified by their
46creation id or any associated key.
47.Pp
864a4b6e
A
48The following options are used to specify which IPC objects will be removed.
49Any number and combination of these options can be used:
c59d3020 50.Bl -tag -width indent
864a4b6e
A
51.It Fl M Ar shmkey
52Mark the shared memory segment associated with key
53.Nm shmkey
54for removal.
55This marked segment will be destroyed after the last detach.
c59d3020
A
56.It Fl m Ar shmid
57Mark the shared memory segment associated with id
58.Nm shmid
59for removal.
60This marked segment will be destroyed after the last detach.
c59d3020
A
61.It Fl Q Ar msgkey
62Remove the message queue associated with key
63.Nm msgkey
64from the system.
864a4b6e
A
65.It Fl q Ar msqid
66Remove the message queue associated with the id
67.Nm msqid
68from the system.
c59d3020
A
69.It Fl S Ar semkey
70Remove the semaphore set associated with key
71.Nm semkey
72from the system.
864a4b6e
A
73.It Fl s Ar semid
74Removes the semaphore set associated with id
75.Nm semid
76from the system.
c59d3020
A
77.El
78.Pp
79The identifiers and keys associated with these System V IPC objects can be
80determined by using
81.Xr ipcs 1
82.
83.Sh SEE ALSO
84.Xr ipcs 1