Name

ipc_findkey — find a key in an ipc identifier set

Synopsis

int ipc_findkey (struct ipc_ids *  ids,
 key_t  key);

Arguments

ids

Identifier set

key

The key to find

Description

Requires ipc_ids.sem locked. Returns the identifier if found or -1 if not.