Handle the result of XSI-compliant version of strerror_r.
| 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 |
nothing calls this directly
no test coverage detected