31 #ifndef __SIM_SYSCALLRETURN_HH__
32 #define __SIM_SYSCALLRETURN_HH__
int64_t returnValue() const
The return value.
static SyscallReturn retry()
Pseudo-constructor to create an instance with the retry flag set.
int errnoValue() const
The errno value.
SyscallReturn(int64_t v)
For simplicity, allow the object to be initialized with a single signed integer using the same positi...
bool needsRetry() const
Does the syscall need to be retried?
int64_t encodedValue() const
The encoded value (as described above)
This class represents the return value from an emulated system call, including any errno setting...
bool successful() const
Was the system call successful?