---
name: "ipc_findkey"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ipc_findkey"
---

# ipc\_findkey(9)

find a key in an ipc identifier set

## 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*

ipc identifier set

*key*

key to find

## DESCRIPTION

Returns the locked pointer to the ipc structure if found or NULL otherwise. If key is found ipc points to the owning ipc structure

Called with ipc\_ids.rwsem held.

## COPYRIGHT
