Expand description
sys/wait.h implementation.
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_wait.h.html.
Constants§
- WCONTINUED
- Report status of continued child process.
- WEXITED
- Wait for processes that have terminated.
- WNOHANG
- Do not hang if no status is available; return immediately.
- WNOWAIT
- Keep the process whose status is returned in
infopin a waitable state. - WSTOPPED
- Status is returned for any child that has stopped upon receipt of a signal.
- WUNTRACED
- Report status of stopped child process.
- __WALL
- Non-POSIX, see https://www.man7.org/linux/man-pages/man2/waitpid.2.html.
- __
WCLONE - Non-POSIX, see https://www.man7.org/linux/man-pages/man2/waitpid.2.html.
- __
WNOTHREAD - Non-POSIX, see https://www.man7.org/linux/man-pages/man2/waitpid.2.html.