#include <stdlib.h>
#include <ostream>
#include <glog/logging.h>
#include <glog/raw_logging.h>
#include <stout/attributes.hpp>
Go to the source code of this file.
|
#define | EXIT(status) __Exit(__FILE__, __LINE__, status).stream() |
|
#define | SAFE_EXIT(status, fmt, ...) |
|
#define EXIT |
( |
|
status | ) |
__Exit(__FILE__, __LINE__, status).stream() |
#define SAFE_EXIT |
( |
|
status, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| |
Value:do { \
RAW_LOG(ERROR,
"EXIT with status %d: " fmt,
status, ##__VA_ARGS__); \
} else { \
RAW_LOG(INFO,
"EXIT with status %d: " fmt,
status, ##__VA_ARGS__); \
} \
} while (0)
Result< ProcessStatus > status(pid_t pid)
Definition: proc.hpp:166