[#ERR_peek_error_func]
= ERR&lowbar;peek&lowbar;error&lowbar;func
:mrdocs:

Peek at the earliest error and optionally return its function name&period;

== Synopsis

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

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

== Return Value

Earliest error code, or 0 if the queue is empty (queue unchanged)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *func*
| Receives the function name string, or unchanged if NULL&period;
|===


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