| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | #ifndef _SYS_WAIT_H | 
|  | 2 | #include <posix/sys/wait.h> | 
|  | 3 |  | 
|  | 4 | #ifndef _ISOMAC | 
|  | 5 | /* Now define the internal interfaces.  */ | 
|  | 6 | extern __pid_t __waitpid (__pid_t __pid, int *__stat_loc, | 
|  | 7 | int __options); | 
|  | 8 | libc_hidden_proto (__waitpid) | 
|  | 9 | extern int __waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options); | 
|  | 10 |  | 
|  | 11 | extern __pid_t __libc_wait (int *__stat_loc); | 
|  | 12 | extern __pid_t __wait (__WAIT_STATUS __stat_loc); | 
|  | 13 | extern __pid_t __wait3 (__WAIT_STATUS __stat_loc, | 
|  | 14 | int __options, struct rusage * __usage); | 
|  | 15 | extern __pid_t __wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, | 
|  | 16 | int __options, struct rusage *__usage) | 
|  | 17 | attribute_hidden; | 
|  | 18 | #endif | 
|  | 19 | #endif |