#include <process.h>
Public Member Functions | |
| ExitStatus () | |
| bool | valid () |
| bool | exited () |
| bool | interrupted () |
| char * | error () |
| char * | statusText () |
| int | exit () |
Public Attributes | |
| int | pid |
| int | status |
| ExitStatus::ExitStatus | ( | ) | [inline] |
| char * ExitStatus::error | ( | ) |
References exited(), and statusText().
Referenced by execute().
| int ExitStatus::exit | ( | ) | [inline] |
References assert(), exited(), and status.
Referenced by TestProcess::died(), execute(), and process_death_pids().
| bool ExitStatus::exited | ( | ) |
Returns true if the process exited in a normal manner.
References status.
Referenced by error(), execute(), exit(), and process_death_pids().
| bool ExitStatus::interrupted | ( | ) |
returns an error string if a strange condition resulted in termination
References status.
Referenced by process_death_pids().
| char * ExitStatus::statusText | ( | ) |
References assert(), sprintf(), and status.
Referenced by Process::died(), error(), and process_death_pids().
| bool ExitStatus::valid | ( | ) | [inline] |
References pid.
| int ExitStatus::pid |
Referenced by Process::died(), Process::exec(), exec(), overseer_child_died(), poll_death(), process_death_pids(), something_died(), Process::spawn(), and valid().
Referenced by exec(), exit(), exited(), interrupted(), overseer_child_died(), poll_death(), process_death_pids(), something_died(), and statusText().
1.6.2