1 #ifndef _ADAPT_SYS_WAIT_H 2 #define _ADAPT_SYS_WAIT_H 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 7 #include <sys/features.h> 8 #include_next <sys/wait.h> 9 10 typedef enum { 11 P_ALL = 0, 12 P_PID = 1, 13 P_PGID = 2, 14 P_PIDFD = 3 15 } idtype_t; 16 17 #ifdef __cplusplus 18 } 19 #endif 20 #endif 21