ipc_addid(9)

NAME

ipc_addid - add an IPC identifier

SYNOPSIS

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

ARGUMENTS

ids
IPC identifier set
new
new IPC permission set
size
limit for the number of used ids

DESCRIPTION

Add an entry ´new´ to the IPC ids idr. The permissions object is
initialised and the first free entry is set up and the id assigned is
returned. The ´new´ entry is returned in a locked state on success. On failure the entry is not locked and a negative err-code is returned.

Called with ipc_ids.rw_mutex held as a writer.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout