[PATCH libevdev 2/9] Return EBADF when trying to read from an uninitalized device
Benjamin Tissoires
benjamin.tissoires at gmail.com
Mon Sep 9 07:49:24 PDT 2013
On Tue, Sep 3, 2013 at 9:07 AM, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> All other functions that check the fd for validity return EBADF, which also makes it
> easier to debug if the actual device goes away.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>
More information about the Input-tools
mailing list