---
name: "input_allocate_device"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/input_allocate_device"
---

# input\_allocate\_device(9)

allocate memory for new input device

## NAME

input\_allocate\_device - allocate memory for new input device

## SYNOPSIS

**struct input\_dev \* input\_allocate\_device(***void***);**

## ARGUMENTS

*void*

no arguments

## DESCRIPTION

Returns prepared struct input\_dev or **NULL**.

## NOTE

Use **input\_free\_device** to free devices that have not been registered; **input\_unregister\_device** should be used for already registered devices.

## COPYRIGHT
