From 743deafb951b5fe02a333b9f5dff92864f0648cd Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 29 Jun 2015 12:23:34 +1000 Subject: [PATCH] Note that libevdev_free() does not close the fd Signed-off-by: Peter Hutterer --- libevdev/libevdev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libevdev/libevdev.h b/libevdev/libevdev.h index fc3e550..eae8e7b 100644 --- a/libevdev/libevdev.h +++ b/libevdev/libevdev.h @@ -794,6 +794,9 @@ int libevdev_new_from_fd(int fd, struct libevdev **dev); * Clean up and free the libevdev struct. After completion, the struct * libevdev 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().