.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "IPC_RMID" "" "06 October 2005" "" ""
.SH NAME
ipc_rmid \- remove an IPC identifier
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct kern_ipc_perm* ipc_rmid (struct ipc_ids* \fIids\fB, int \fIid\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIids\fB\fR
identifier set
.TP
\fB\fIid\fB\fR
Identifier to remove
.SH "DESCRIPTION"
.PP
The identifier must be valid, and in use. The kernel will panic if
fed an invalid identifier. The entry is removed and internal
variables recomputed. The object associated with the identifier
is returned.
ipc_ids.sem and the spinlock for this ID is hold before this function
is called, and remain locked on the exit.