17 #ifndef ASYLO_UTIL_POSIX_ERRORS_H_ 18 #define ASYLO_UTIL_POSIX_ERRORS_H_ 20 #include "absl/strings/string_view.h" 21 #include "asylo/util/status.h" int GetErrno(const Status &status)
Returns the POSIX error number that a Status represents, or zero if the Status does not represent a P...
ABSL_CONST_INIT const char kStatusMoveAssignmentMsg[]
Status LastPosixError(absl::string_view message="")
Returns a Status representing the last POSIX error in this thread.
Status PosixError(int errnum, absl::string_view message="")
Returns a Status representing a POSIX error.