Extract the reason code from a packed OpenSSL or system error code.
Declared in <openssl/err.h>
[[maybe_unused]]
static
int
ERR_GET_REASON(unsigned long errcode);
This entity may be unused, and the compiler will not warn about it.
Reason code within the library, or the errno value for a system error.
| Name | Description |
|---|---|
| errcode | Error code as returned by ERR_get_error() or ERR_peek_error(). |