Lines Matching refs:WaitResult
347 ProcessInfo WaitResult;
350 WaitResult.Pid = waitpid(ChildPid, &status, WaitPidOptions);
351 } while (WaitUntilTerminates && WaitResult.Pid == -1 && errno == EINTR);
353 if (WaitResult.Pid != PI.Pid) {
354 if (WaitResult.Pid == 0) {
356 return WaitResult;
372 WaitResult.ReturnCode = -2; // Timeout detected
373 return WaitResult;
376 WaitResult.ReturnCode = -1;
377 return WaitResult;
393 WaitResult.ReturnCode = result;
398 WaitResult.ReturnCode = -1;
399 return WaitResult;
404 WaitResult.ReturnCode = -1;
405 return WaitResult;
417 WaitResult.ReturnCode = -2;
419 return WaitResult;