[#absl-ErrnoToStatusCode]
= xref:absl.adoc[absl]::ErrnoToStatusCode
:relfileprefix: ../
:mrdocs:

Returns the StatusCode for `error&lowbar;number`, which should be an `errno` value&period;

== Synopsis

Declared in `&lt;absl&sol;status&sol;status&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/StatusCode.adoc[absl::StatusCode]
ErrnoToStatusCode(int error&lowbar;number);
----

== Description

See https&colon;&sol;&sol;en&period;cppreference&period;com&sol;w&sol;cpp&sol;error&sol;errno&lowbar;macros and similar references&period;

== Return Value

The corresponding status code&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *error&lowbar;number*
| An `errno` value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
