1IPC_ADDID(9)                 Kernel IPC facilities                IPC_ADDID(9)
2
3
4

NAME

6       ipc_addid - add an IPC identifier
7

SYNOPSIS

9       int ipc_addid(struct ipc_ids * ids, struct kern_ipc_perm * new,
10                     int size);
11

ARGUMENTS

13       ids
14           IPC identifier set
15
16       new
17           new IPC permission set
18
19       size
20           limit for the number of used ids
21

DESCRIPTION

23       Add an entry ´new´ to the IPC ids idr. The permissions object is
24       initialised and the first free entry is set up and the id assigned is
25       returned. The ´new´ entry is returned in a locked state on success. On
26       failure the entry is not locked and a negative err-code is returned.
27
28       Called with ipc_ids.rw_mutex held as a writer.
29
31Kernel Hackers Manual 2.6.         June 2019                      IPC_ADDID(9)
Impressum