projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e0c9f2
)
sys/wait.h: add P_PIDFD from linux v5.4
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 22 Dec 2019 12:11:30 +0000
(12:11 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 30 Dec 2019 23:14:08 +0000
(18:14 -0500)
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()
include/sys/wait.h
patch
|
blob
|
history
diff --git
a/include/sys/wait.h
b/include/sys/wait.h
index d9adbdec827f17844839f3e0a3eab19136926722..d4b1f2e185c66384e7901e4ca4370f7768eb3bb7 100644
(file)
--- 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 *);