19#ifndef CORE_POSIX_WAIT_H_
20#define CORE_POSIX_WAIT_H_
67 } status = Status::undefined;
Status
The Status enum wrap's the posix exit status.
CORE_POSIX_DLL_PUBLIC Flags operator|(Flags l, Flags r)
Flags
Flags enumerates different behavior when waiting for a child process to change state.
@ untraced
Also wait for state changes in untraced children.
@ no_hang
Do not block if a child process hasn't changed state.
@ continued
Also wait for a child to continue after having been stopped.
Signal
The Signal enum collects the most common POSIX signals.
The Result struct encapsulates the result of waiting for a process state change.
bool core_dumped
true if the process termination resulted in a core dump.
Status
The status of the process/wait operation.
@ signaled
The process was signalled and terminated.
@ no_state_change
No state change occurred.
@ undefined
Marks an undefined state.
@ exited
The process exited normally.
@ continued
The process resumed operation.
@ stopped
The process was signalled and stopped.
enum core::posix::wait::Result::Status status
Signal signal
Signal that caused the process to terminate.
#define CORE_POSIX_DLL_PUBLIC