interactive-evdev: switch from epoll(2) to poll(2)
authorRan Benita <ran@unusedvar.com>
Sun, 28 Mar 2021 09:55:08 +0000 (12:55 +0300)
committerRan Benita <ran@unusedvar.com>
Sun, 28 Mar 2021 11:39:03 +0000 (14:39 +0300)
commit6b65be4c4e78b86899f529197d777f7c5fa57e9e
tree9947fbd98aa351c9399f82c81c26ded26384ec47
parent62b5b4a170377468c38121acb113d773b5253314
interactive-evdev: switch from epoll(2) to poll(2)

Turns out FreeBSD supports evdev, so this toll can work on it; however
it does not support epoll, so switch to poll, which is portable.

Reported-by: Evgeniy Khramtsov <evgeniy@khramtsov.org>
Signed-off-by: Ran Benita <ran@unusedvar.com>
tools/interactive-evdev.c
tools/xkbcli-interactive-evdev.1
tools/xkbcli.1
tools/xkbcli.c