musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/wait.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019年12月22日 12:11:30 +0000
committerRich Felker <dalias@aerifal.cx>2019年12月30日 18:14:08 -0500
commitf296be74d5ab94f6ccac26e129d96e08f1c20538 (patch)
tree9f4df97e432e4b8eb92fcaa794c44ca972cfbfa3 /include/sys/wait.h
parent5e0c9f246cf7c0d174b7b8fbd9e02d4729ff66d2 (diff)
downloadmusl-f296be74d5ab94f6ccac26e129d96e08f1c20538.tar.gz
sys/wait.h: add P_PIDFD from linux v5.4
allows waiting on a pidfd, in the future it might allow retrieving the exit status by a non-parent process, see linux commit 3695eae5fee0605f316fbaad0b9e3de791d7dfaf pidfd: add P_PIDFD to waitid()
Diffstat (limited to 'include/sys/wait.h')
-rw-r--r--include/sys/wait.h 3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/wait.h b/include/sys/wait.h
index d9adbdec..d4b1f2e1 100644
--- a/include/sys/wait.h
+++ b/include/sys/wait.h
@@ -13,7 +13,8 @@ extern "C" {
typedef enum {
P_ALL = 0,
P_PID = 1,
- P_PGID = 2
+ P_PGID = 2,
+ P_PIDFD = 3
} idtype_t;
pid_t wait (int *);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月07日 02:31:51 +0000

AltStyle によって変換されたページ (->オリジナル) /