Note that libevdev_free() does not close the fd

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-06-29 12:23:34 +10:00
parent c8a557fc9b
commit 743deafb95

View file

@ -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().