MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / wait4

Function wait4

src/miscwrappers.cpp:178–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177extern "C"
178pid_t
179wait4(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
193extern "C" int
194waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options)

Callers 2

waitpidFunction · 0.70
wait3Function · 0.70

Calls 1

_real_wait4Function · 0.70

Tested by

no test coverage detected