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

Format a human&hyphen;readable description of error code `e` into a buffer&period;

== Synopsis

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

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

== Return Value

Pointer to `buf,` or to the static buffer when `buf` is NULL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| Packed error code from ERR&lowbar;get&lowbar;error() or similar&period;
| *buf*
| Destination buffer of at least 256 bytes, or NULL to use a static buffer (not thread&hyphen;safe)&period;
|===


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