Asylo
Namespaces | Functions
posix_errors.h File Reference
#include "absl/strings/string_view.h"
#include "asylo/util/status.h"
Include dependency graph for posix_errors.h:

Go to the source code of this file.

Namespaces

 asylo
 

Functions

Status asylo::PosixError (int errnum, absl::string_view message="")
 Returns a Status representing a POSIX error. More...
 
Status asylo::LastPosixError (absl::string_view message="")
 Returns a Status representing the last POSIX error in this thread. More...
 
int asylo::GetErrno (const Status &status)
 Returns the POSIX error number that a Status represents, or zero if the Status does not represent a POSIX error. More...