Template Struct PosixCallResult
Defined in File posix_call.hpp
Struct Documentation
-
template<typename T>
struct PosixCallResult result of a posix call
Public Functions
-
PosixCallResult() noexcept = default
-
cxx::string<POSIX_CALL_ERROR_STRING_SIZE> getHumanReadableErrnum() const noexcept
returns the result of std::strerror(errnum) which acquires a human readable error string
Public Members
-
int32_t errnum = POSIX_CALL_INVALID_ERRNO
the errno value which was set by the posix function call
-
PosixCallResult() noexcept = default