[#ERR_get_error_line_data]
= ERR&lowbar;get&lowbar;error&lowbar;line&lowbar;data
:mrdocs:

Pop the earliest error with file, line, data, and flags (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;err&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
unsigned long
ERR&lowbar;get&lowbar;error&lowbar;line&lowbar;data(
    char const** file,
    int* line,
    char const** data,
    int* flags);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Packed error code, or 0 if the queue is empty&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *file*
| Receives the source file name, or unchanged if NULL&period;
| *line*
| Receives the source line number, or unchanged if NULL&period;
| *data*
| Receives optional auxiliary data, or unchanged if NULL&period;
| *flags*
| Receives ERR&lowbar;TXT&lowbar;&ast; flags for `data,` or unchanged if NULL&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
