mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
hurd: Add WSTOPPED/WCONTINUED/WEXITED/WNOWAIT support [BZ #23091]
The new __proc_waitid RPC now expects WEXITED to be passed, allowing to properly implement waitid, and thus define the missing W* macros (according to FreeBSD values).
This commit is contained in:
@ -24,3 +24,11 @@
|
||||
/* Bits in the third argument to `waitpid'. */
|
||||
#define WNOHANG 1 /* Don't block waiting. */
|
||||
#define WUNTRACED 2 /* Report status of stopped children. */
|
||||
|
||||
/* Bits in the fourth argument to `waitid'. */
|
||||
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
|
||||
# define WSTOPPED WUNTRACED /* Report stopped child. */
|
||||
# define WCONTINUED 4 /* Report continued child. */
|
||||
# define WNOWAIT 8 /* Don't reap, just poll status. */
|
||||
# define WEXITED 16 /* Report dead child. */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user