ERR_get_error_line

Pop the earliest error and optionally return file and line (deprecated).

Synopsis

Declared in <openssl/err.h>

[[deprecated]]
unsigned long
ERR_get_error_line(
    char const** file,
    int* line);

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.