summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorN-R-K <nrk@disroot.org>2022-04-28 05:12:15 +0200
committerGitHub <noreply@github.com>2022-04-28 05:12:15 +0200
commit6922d5d01b03b0f584a411803d2da45b07f5af01 (patch)
treea4977ced8afe9c376030d09f1cb7eba2e70bb241 /commands.c
parent5bb1df4af3a221ad65a95cf5f86b554dab2917b1 (diff)
downloadnsxiv-6922d5d01b03b0f584a411803d2da45b07f5af01.tar.zst
replace select() with poll() (#270)
usage of select (3) in modern programs is typically discouraged. this simply replaces the select call with poll (3) instead. and since poll conveniently ignores negative fds, this also reduces needs for some special casing. this also handles error if they occur, while old implementation didn't. other than the error handling, no change in functionality should occur.
Diffstat (limited to 'commands.c')
0 files changed, 0 insertions, 0 deletions