[#CRYPTO_THREAD_set_local] = CRYPTO_THREAD_set_local :mrdocs: Store `val` in the thread‐local slot identified by `key.` == Synopsis Declared in `<openssl/crypto.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CRYPTO_THREAD_set_local( xref:CRYPTO_THREAD_LOCAL.adoc[CRYPTO_THREAD_LOCAL]* key, void* val); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *key* | Thread‐local key previously created with CRYPTO_THREAD_init_local(). | *val* | Pointer to store for the calling thread. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#