Return the calling thread's value for thread‐local key key.

Synopsis

Declared in <openssl/crypto.h>

void*
CRYPTO_THREAD_get_local(CRYPTO_THREAD_LOCAL* key);

Return Value

Stored pointer for this thread, or NULL if unset.

Parameters

Name

Description

key

Thread‐local key from CRYPTO_THREAD_init_local().

Created with MrDocs