[#ERR_print_errors_cb]
= ERR&lowbar;print&lowbar;errors&lowbar;cb
:mrdocs:

Print and clear all queued errors, invoking `cb` for each formatted line&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ERR&lowbar;print&lowbar;errors&lowbar;cb(
    int(* cb)(char const*, size&lowbar;t, void*),
    void* u);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cb*
| Callback receiving each error line and `u&semi;` return value is ignored&period;
| *u*
| Opaque argument passed to `cb&period;`
|===


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