17 #ifndef __STATUS_UTILS_HPP__
18 #define __STATUS_UTILS_HPP__
38 message +=
"exited with status ";
42 message +=
"exited with status ";
45 message +=
"terminated with signal ";
48 message +=
" (core dumped)";
51 message +=
"stopped on signal ";
54 message +=
"wait status ";
61 #endif // __STATUS_UTILS_HPP__
const char * strsignal(int signum)
Definition: windows.hpp:358
Result< ProcessStatus > status(pid_t pid)
Definition: proc.hpp:166
#define WSTOPSIG(x)
Definition: windows.hpp:401
#define WIFSIGNALED(x)
Definition: windows.hpp:380
#define WIFSTOPPED(x)
Definition: windows.hpp:396
#define WEXITSTATUS(x)
Definition: windows.hpp:376
#define WIFEXITED(x)
Definition: windows.hpp:370
bool WSUCCEEDED(int status)
Definition: status_utils.hpp:26
#define WCOREDUMP(x)
Definition: windows.hpp:391
#define WTERMSIG(x)
Definition: windows.hpp:386
std::string WSTRINGIFY(int status)
Definition: status_utils.hpp:32
std::string stringify(int flags)