diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/bits/types/idtype_t.h | 12 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/types/idtype_t.h | 14 |
2 files changed, 26 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/bits/types/idtype_t.h b/sysdeps/mach/hurd/bits/types/idtype_t.h new file mode 100644 index 0000000000..207eb777ba --- /dev/null +++ b/sysdeps/mach/hurd/bits/types/idtype_t.h @@ -0,0 +1,12 @@ +#ifndef __idtype_t_defined +#define __idtype_t_defined + +/* The following values are used by the `waitid' function. */ +typedef enum +{ + P_ALL, /* Wait for any child. */ + P_PID, /* Wait for specified process. */ + P_PGID, /* Wait for members of process group. */ +} idtype_t; + +#endif diff --git a/sysdeps/unix/sysv/linux/bits/types/idtype_t.h b/sysdeps/unix/sysv/linux/bits/types/idtype_t.h new file mode 100644 index 0000000000..fc084c7774 --- /dev/null +++ b/sysdeps/unix/sysv/linux/bits/types/idtype_t.h @@ -0,0 +1,14 @@ +#ifndef __idtype_t_defined +#define __idtype_t_defined + +/* The following values are used by the `waitid' function. */ +typedef enum +{ + P_ALL, /* Wait for any child. */ + P_PID, /* Wait for specified process. */ + P_PGID, /* Wait for members of process group. */ + P_PIDFD, /* Wait for the child referred by the PID file + descriptor. */ +} idtype_t; + +#endif |