ERR_get_error_line_data

Pop the earliest error with file, line, data, and flags (deprecated).

Synopsis

Declared in <openssl/err.h>

[[deprecated]]
unsigned long
ERR_get_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

Packed error code, or 0 if the queue is empty.

Parameters

NameDescription
fileReceives the source file name, or unchanged if NULL.
lineReceives the source line number, or unchanged if NULL.
dataReceives optional auxiliary data, or unchanged if NULL.
flagsReceives ERR_TXT_* flags for data, or unchanged if NULL.