![]()  | 
  
    MySQL 8.0.44
    
   Source Code Documentation 
   | 
 
exit status of processes. More...
#include <exit_status.h>
Classes | |
| struct | continued_t | 
| struct | exited_t | 
| struct | native_t | 
| struct | stopped_t | 
| struct | terminated_t | 
Public Member Functions | |
| constexpr | ExitStatus (int exit_code) | 
| construct a exit-status of a exited process.  More... | |
| constexpr | ExitStatus (exited_t, int exit_code) | 
| constexpr | ExitStatus (native_t, int native_exit_code) | 
| constexpr | ExitStatus (terminated_t, int signum) | 
| constexpr | ExitStatus (stopped_t, int signum) | 
| constexpr | ExitStatus (continued_t) | 
| constexpr std::optional< int > | exited () const | 
| check if the status is a clean exit.  More... | |
| constexpr std::optional< int > | terminated () const | 
| check if the status is a terminated exit.  More... | |
| constexpr std::optional< int > | stopped () const | 
| check if the status is a stopped process.  More... | |
| constexpr bool | continued () const | 
| check if the status is continued process.  More... | |
Private Types | |
| enum class | StatusKind { kSignalled , kExited , kStopped , kContinued } | 
Static Private Member Functions | |
| static constexpr ExitStatus | from_native (int native_exit_code) | 
Private Attributes | |
| StatusKind | status_kind_ | 
| int | status_ | 
Friends | |
| bool | operator== (const ExitStatus &a, const ExitStatus &b) | 
exit status of processes.
a process can report its exit status:
      
  | 
  strongprivate | 
      
  | 
  inlineconstexpr | 
construct a exit-status of a exited process.
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
check if the status is continued process.
      
  | 
  inlineconstexpr | 
check if the status is a clean exit.
if true, contains the exit-code.
      
  | 
  inlinestaticconstexprprivate | 
      
  | 
  inlineconstexpr | 
check if the status is a stopped process.
if true, contains the signal number used to stop the process.
      
  | 
  inlineconstexpr | 
check if the status is a terminated exit.
if true, contains the signal number used to terminate the process.
      
  | 
  friend | 
      
  | 
  private | 
      
  | 
  private |