IPC_FINDKEY(9)

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.