[#ERR_error_string_n]
= ERR&lowbar;error&lowbar;string&lowbar;n
:mrdocs:

Format an OpenSSL error code into a caller&hyphen;provided buffer&period;

== Synopsis

Declared in `&lt;openssl&sol;err&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ERR&lowbar;error&lowbar;string&lowbar;n(
    unsigned long e,
    char* buf,
    size&lowbar;t len);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| Packed error code from ERR&lowbar;get&lowbar;error() or similar&period;
| *buf*
| Destination buffer that receives a NUL&hyphen;terminated description&period;
| *len*
| Capacity of `buf` in bytes&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
