[#absl-ErrnoToStatus] = xref:absl.adoc[absl]::ErrnoToStatus :relfileprefix: ../ :mrdocs: Convenience function that creates a `absl::Status` using an `error_number`, which should be an `errno` value. == Synopsis Declared in `<absl/status/status.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/Status.adoc[Status] ErrnoToStatus( int error_number, std::string_view message, xref:absl/SourceLocation.adoc[absl::SourceLocation] loc = SourceLocation::current()); ---- == Return Value A status derived from `error_number`. == Parameters [cols="1,4"] |=== | Name| Description | *error_number* | An `errno` value. | *message* | The error message. | *loc* | The source location of the callsite. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#