| 176 | |
| 177 | extern "C" |
| 178 | pid_t |
| 179 | wait4(pid_t pid, __WAIT_STATUS status, int options, struct rusage *rusage) |
| 180 | { |
| 181 | int stat; |
| 182 | pid_t retval = 0; |
| 183 | |
| 184 | if (status == NULL) { |
| 185 | status = (__WAIT_STATUS)&stat; |
| 186 | } |
| 187 | |
| 188 | retval = _real_wait4(pid, status, options, rusage); |
| 189 | |
| 190 | return retval; |
| 191 | } |
| 192 | |
| 193 | extern "C" int |
| 194 | waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options) |
no test coverage detected