Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _UAPI_LINUX_WAIT_H
0003 #define _UAPI_LINUX_WAIT_H
0004 
0005 #define WNOHANG     0x00000001
0006 #define WUNTRACED   0x00000002
0007 #define WSTOPPED    WUNTRACED
0008 #define WEXITED     0x00000004
0009 #define WCONTINUED  0x00000008
0010 #define WNOWAIT     0x01000000  /* Don't reap, just poll status.  */
0011 
0012 #define __WNOTHREAD 0x20000000  /* Don't wait on children of other threads in this group */
0013 #define __WALL      0x40000000  /* Wait on all children, regardless of type */
0014 #define __WCLONE    0x80000000  /* Wait only on non-SIGCHLD children */
0015 
0016 /* First argument to waitid: */
0017 #define P_ALL       0
0018 #define P_PID       1
0019 #define P_PGID      2
0020 #define P_PIDFD     3
0021 
0022 
0023 #endif /* _UAPI_LINUX_WAIT_H */