mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
848791557b
This also consolidate all waitpid implementations. Checked on x86_64-linux-gnu.
21 lines
631 B
C
21 lines
631 B
C
#ifndef _SYS_WAIT_H
|
|
#include <posix/sys/wait.h>
|
|
|
|
#ifndef _ISOMAC
|
|
/* Now define the internal interfaces. */
|
|
extern __pid_t __waitpid (__pid_t __pid, int *__stat_loc,
|
|
int __options);
|
|
libc_hidden_proto (__waitpid)
|
|
extern int __waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options);
|
|
|
|
extern __pid_t __libc_wait (int *__stat_loc);
|
|
extern __pid_t __wait (int *__stat_loc);
|
|
extern __pid_t __wait3 (int *__stat_loc,
|
|
int __options, struct rusage * __usage);
|
|
extern __pid_t __wait4 (__pid_t __pid, int *__stat_loc,
|
|
int __options, struct rusage *__usage)
|
|
attribute_hidden;
|
|
libc_hidden_proto (__wait4);
|
|
#endif
|
|
#endif
|