mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-26 05:10:06 +01:00
Note that libevdev_free() does not close the fd
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c8a557fc9b
commit
743deafb95
1 changed files with 3 additions and 0 deletions
|
|
@ -794,6 +794,9 @@ int libevdev_new_from_fd(int fd, struct libevdev **dev);
|
|||
* Clean up and free the libevdev struct. After completion, the <code>struct
|
||||
* libevdev</code> is invalid and must not be used.
|
||||
*
|
||||
* Note that calling libevdev_free() does not close the file descriptor
|
||||
* currently asssociated with this instance.
|
||||
*
|
||||
* @param dev The evdev device
|
||||
*
|
||||
* @note This function may be called before libevdev_set_fd().
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue