[#CRYPTO_THREAD_get_local]
= CRYPTO&lowbar;THREAD&lowbar;get&lowbar;local
:mrdocs:

Return the calling thread&apos;s value for thread&hyphen;local key `key&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
CRYPTO&lowbar;THREAD&lowbar;get&lowbar;local(xref:CRYPTO_THREAD_LOCAL.adoc[CRYPTO&lowbar;THREAD&lowbar;LOCAL]* key);
----

== Return Value

Stored pointer for this thread, or NULL if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| Thread&hyphen;local key from CRYPTO&lowbar;THREAD&lowbar;init&lowbar;local()&period;
|===


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