5 ERR_remove_thread_state, ERR_remove_state - free a thread's error queue
9 #include <openssl/err.h>
11 void ERR_remove_thread_state(void);
15 #if OPENSSL_API_COMPAT < 0x10000000L
16 void ERR_remove_state(unsigned long pid);
21 ERR_remove_thread_state() frees the error queue associated with the current
24 Since error queue data structures are allocated automatically for new
25 threads, they must be freed when threads are terminated in order to
28 ERR_remove_state is deprecated and has been replaced by
29 ERR_remove_thread_state. Any argument to this function is ignored and
30 calling ERR_remove_state is equivalent to B<ERR_remove_thread_state()>.
34 ERR_remove_thread_state and ERR_remove_state() return no value.
43 was deprecated in OpenSSL 1.0.0 when ERR_remove_thread_state() was introduced.