]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd04e679c04540b482ab0d53983e67cd5e8531d93
tree30bc83a1a4063e475efa772d4f08de496db8eec2
parent91170330fa26f1f1e624b58fd296da394aabf324
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