Pretty print an errno.
Synopsis
Declared in <folly/String.h>
std::string
errnoStr(int err);
Description
Return a string containing the description of the given errno value. Takes care not to overwrite the actual system errno, so calling errnoStr(errno) is valid.
Return Value
A string describing the errno value.
Parameters
Name |
Description |
err |
The errno value to describe. |
Created with MrDocs