IPC_FINDKEY

Section: Kernel IPC facilities (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

ipc_findkey - find a key in an ipc identifier set  

SYNOPSIS

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

ARGUMENTS

ids

Identifier set

key

The key to find
 

DESCRIPTION

Requires ipc_ids.rw_mutex locked. Returns the LOCKED pointer to the ipc structure if found or NULL if not. If key is found ipc points to the owning ipc structure  

COPYRIGHT