.\" 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_ADDID" "" "06 October 2005" "" "" .SH NAME ipc_addid \- add an IPC identifier .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ipc_addid (struct ipc_ids* \fIids\fB, struct kern_ipc_perm* \fInew\fB, int \fIsize\fB); \fR .SH "ARGUMENTS" .TP \fB\fIids\fB\fR IPC identifier set .TP \fB\fInew\fB\fR new IPC permission set .TP \fB\fIsize\fB\fR new size limit for the id array .SH "DESCRIPTION" .PP Add an entry 'new' to the IPC arrays. The permissions object is initialised and the first free entry is set up and the id assigned is returned. The list is returned in a locked state on success. On failure the list is not locked and -1 is returned. .PP Called with ipc_ids.sem held.