Peek at the earliest error and optionally return its function name.

Synopsis

Declared in <openssl/err.h>

unsigned long
ERR_peek_error_func(char const** func);

Return Value

Earliest error code, or 0 if the queue is empty (queue unchanged).

Parameters

Name

Description

func

Receives the function name string, or unchanged if NULL.

Created with MrDocs