iox::posix::PosixCallResult🔗
result of a posix call More...
#include <iceoryx_hoofs/posix_wrapper/posix_call.hpp>
Public Functions🔗
Name | |
---|---|
PosixCallResult() =default | |
cxx::string< POSIX_CALL_ERROR_STRING_SIZE > | getHumanReadableErrnum() const returns the result of std::strerror(errnum) which acquires a human readable error string |
Public Attributes🔗
Name | |
---|---|
T | value the return value of the posix function call |
int32_t | errnum the errno value which was set by the posix function call |
Detailed Description🔗
template <typename T >
struct iox::posix::PosixCallResult;
result of a posix call
Public Functions Documentation🔗
function PosixCallResult🔗
PosixCallResult() =default
function getHumanReadableErrnum🔗
cxx::string< POSIX_CALL_ERROR_STRING_SIZE > getHumanReadableErrnum() const
returns the result of std::strerror(errnum) which acquires a human readable error string
Public Attributes Documentation🔗
variable value🔗
T value {};
the return value of the posix function call
variable errnum🔗
int32_t errnum = POSIX_CALL_INVALID_ERRNO;
the errno value which was set by the posix function call
Updated on 17 March 2022 at 12:15:57 CET