Note that libevdev_free() does not close the fd
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 29 Jun 2015 02:23:34 +0000 (12:23 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 29 Jun 2015 02:23:34 +0000 (12:23 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
libevdev/libevdev.h

index fc3e5504f03589cf3adc5f883212d97dc399baf5..eae8e7ba942c1422bc4b2f9f8201632d3173eb33 100644 (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().