Merge "Removes wait3(2) from LP64."
This commit is contained in:
commit
b725e7627f
@ -250,4 +250,9 @@ extern "C" int issetugid() {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This was removed from POSIX 2004.
|
||||||
|
extern "C" pid_t wait3(int* status, int options, struct rusage* rusage) {
|
||||||
|
return wait4(-1, status, options, rusage);
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -35,10 +35,6 @@ pid_t wait(int* status) {
|
|||||||
return wait4(-1, status, 0, NULL);
|
return wait4(-1, status, 0, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
pid_t wait3(int* status, int options, struct rusage* rusage) {
|
|
||||||
return wait4(-1, status, options, rusage);
|
|
||||||
}
|
|
||||||
|
|
||||||
pid_t waitpid(pid_t pid, int* status, int options) {
|
pid_t waitpid(pid_t pid, int* status, int options) {
|
||||||
return wait4(pid, status, options, NULL);
|
return wait4(pid, status, options, NULL);
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,6 @@ __BEGIN_DECLS
|
|||||||
|
|
||||||
extern pid_t wait(int *);
|
extern pid_t wait(int *);
|
||||||
extern pid_t waitpid(pid_t, int *, int);
|
extern pid_t waitpid(pid_t, int *, int);
|
||||||
extern pid_t wait3(int *, int, struct rusage *);
|
|
||||||
extern pid_t wait4(pid_t, int *, int, struct rusage *);
|
extern pid_t wait4(pid_t, int *, int, struct rusage *);
|
||||||
|
|
||||||
/* Posix states that idtype_t should be an enumeration type, but
|
/* Posix states that idtype_t should be an enumeration type, but
|
||||||
|
Loading…
x
Reference in New Issue
Block a user