| 1 | #ifndef __idtype_t_defined |
|---|---|
| 2 | #define __idtype_t_defined |
| 3 | |
| 4 | /* The following values are used by the `waitid' function. */ |
| 5 | typedef enum |
| 6 | { |
| 7 | P_ALL, /* Wait for any child. */ |
| 8 | P_PID, /* Wait for specified process. */ |
| 9 | P_PGID, /* Wait for members of process group. */ |
| 10 | P_PIDFD, /* Wait for the child referred by the PID file |
| 11 | descriptor. */ |
| 12 | } idtype_t; |
| 13 | |
| 14 | #endif |
| 15 |