am 85f9f764: Merge "Workaround for libportable wait4 implementation."

* commit '85f9f764507761e011fc14398e7ddf08b5d383c5':
  Workaround for libportable wait4 implementation.
This commit is contained in:
Andrew Hsieh
2013-07-22 12:14:00 -07:00
committed by Android Git Automerger

View File

@@ -104,6 +104,11 @@ pid_t WRAP(wait3)(int *status, int options, struct rusage *rusage)
return rv; return rv;
} }
// FIXME: WORKAROUND after Android wait4 has been implemented
pid_t REAL(wait4)(pid_t p, int *s, int o, struct rusage *r) {
extern pid_t __wait4(pid_t, int *, int, struct rusage *);
return __wait4(p,s,o,r);
}
pid_t WRAP(wait4)(pid_t pid, int *status, int options, struct rusage *rusage) pid_t WRAP(wait4)(pid_t pid, int *status, int options, struct rusage *rusage)
{ {