Peek at the newest error code and optionally its source file/line.

Synopsis

Declared in <openssl/err.h>

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

Return Value

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

Parameters

Name

Description

file

Receives the source file name associated with the error, or may be NULL.

line

Receives the source line number associated with the error, or may be NULL.

Created with MrDocs