Peek at the newest error with file, line, data, and flags (deprecated).

Synopsis

Declared in <openssl/err.h>

[[deprecated]]
unsigned long
ERR_peek_last_error_line_data(
    char const** file,
    int* line,
    char const** data,
    int* flags);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

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

Parameters

Name

Description

file

Receives the source file name, or may be NULL.

line

Receives the source line number, or may be NULL.

data

Receives optional error data string, or may be NULL.

flags

Receives ERR_TXT_* flags for data, or may be NULL.

Created with MrDocs