[#ERR_set_error] = ERR_set_error :mrdocs: Set library, reason, and optional formatted auxiliary data on the current error entry. == Synopsis Declared in `<openssl/err.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void ERR_set_error( int lib, int reason, char const* fmt, ...); ---- == Parameters [cols="1,4"] |=== | Name| Description | *lib* | ERR_LIB_* library number for the error. | *reason* | Reason code within `lib` (or errno when `lib` is ERR_LIB_SYS). | *fmt* | printf‐style format for extra data, or NULL for none; remaining arguments match `fmt` when non‐NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#