Rudiments
|
Static Public Member Functions | |
static void | clearError () |
static void | setErrorNumber (int32_t err) |
static int32_t | getErrorNumber () |
static const char * | getErrorString () |
The error class provides an interface to the errors that system calls can generate.
|
static |
Set the current system call error to 0, "Success".
|
static |
Returns the current system call error. Will match one of the errors defined in error.h such as EINTR, ENOMEM, etc.
|
static |
Returns a string representation of the current system error. Note: this method returns a pointer to an internal buffer which may be overwritten at any time.
|
static |
Set the current system call error to "err". "err" should be one of the errors defined in error.h such as EINTR, ENOMEM, etc.