Peek at the earliest error and optionally return its source file and line.

Synopsis

Declared in <openssl/err.h>

unsigned long
ERR_peek_error_line(
    char const** file,
    int* line);

Return Value

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

Parameters

Name

Description

file

Receives the source file name, or unchanged if NULL.

line

Receives the source line number, or unchanged if NULL.

Created with MrDocs