tools/nolibc: drop wait4() support
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 21 Aug 2025 15:40:38 +0000 (17:40 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 1 Sep 2025 18:48:40 +0000 (20:48 +0200)
commit4c2ef951cfe68bcd823d59a9e7ef9e3c16aa3974
tree427da4d97cf278e67d6076e3d5a21117ca039cd8
parent61a3cf7934b6da3c926cd9961860dd94eb7192ba
tools/nolibc: drop wait4() support

Not all architectures implement the wait4() syscall. It can be
implemented in terms of the waitid() syscall, but that would require
some rework of the other wait-related functions in wait.h.

As wait4() is non-standard and deprecated, remove it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250821-nolibc-enosys-v1-7-4b63f2caaa89@weissschuh.net
tools/include/nolibc/sys/wait.h