tools/nolibc/types: add poll() and waitpid() flag definitions
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Mar 2022 17:33:12 +0000 (18:33 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 21 Apr 2022 00:05:45 +0000 (17:05 -0700)
commit96d2a1313fe00927b33bb0ccbc3e8cd731826f7d
tree30bc83a1a4063e475efa772d4f08de496db8eec2
parent54abe3590fd350afb9cde2398dd3f4ba5bf6d167
tools/nolibc/types: add poll() and waitpid() flag definitions

- POLLIN etc were missing, so poll() could only be used with timeouts.
- WNOHANG was not defined and is convenient to check if a child is still
  running

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/types.h