---
name: "idr_remove"
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/idr_remove"
---

# idr\_remove(9)

remove the given id and free its slot

## NAME

idr\_remove - remove the given id and free its slot

## SYNOPSIS

**void idr\_remove(struct idr \*** *idp***, int** *id***);**

## ARGUMENTS

*idp*

idr handle

*id*

unique key

## COPYRIGHT
