Rechercher une page de manuel
input_free_device
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
input_free_device - free memory occupied by input_dev structureSYNOPSIS
- void input_free_device(struct input_dev * dev);
ARGUMENTS
dev
- input device to free
DESCRIPTION
This function should only be used if input_register_device was not called yet or if it failed. Once device was registered use input_unregister_device and memory will be freed once last reference to the device is dropped.
Device should be allocated by input_allocate_device.
NOTE
If there are references to the input device then memory will not be freed until last reference is dropped.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre