[#ERR_get_state]
= ERR&lowbar;get&lowbar;state
:mrdocs:

Return the current thread&apos;s ERR&lowbar;STATE (deprecated internal accessor)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:ERR_STATE.adoc[ERR&lowbar;STATE]*
ERR&lowbar;get&lowbar;state();
----

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

Thread&hyphen;local error state, or NULL on allocation failure&period;


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