MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / handle

Method handle

extlibs/fmt/include/fmt/format-inl.h:83–86  ·  view source on GitHub ↗

Handle the result of XSI-compliant version of strerror_r.

Source from the content-addressed store, hash-verified

81
82 // Handle the result of XSI-compliant version of strerror_r.
83 int handle(int result) {
84 // glibc versions before 2.13 return result in errno.
85 return result == -1 ? errno : result;
86 }
87
88 // Handle the result of GNU-specific version of strerror_r.
89 FMT_MAYBE_UNUSED

Callers

nothing calls this directly

Calls 1

strerror_sFunction · 0.85

Tested by

no test coverage detected