ERR_remove_state 3 2001-04-12 0.9.9-dev OpenSSL
NAME
ERR_remove_state - free a thread's error queue
LIBRARY
libcrypto, -lcrypto
SYNOPSIS
#include
void ERR_remove_state(unsigned long pid);
DESCRIPTION
_E_R_R___r_e_m_o_v_e___s_t_a_t_e_(_) frees the error queue associated with thread ppiidd.
If ppiidd == 0, the current thread will have its error queue removed.
Since error queue data structures are allocated automatically for new
threads, they must be freed when threads are terminated in order to
avoid memory leaks.
RETURN VALUE
_E_R_R___r_e_m_o_v_e___s_t_a_t_e_(_) returns no value.
SEE ALSO
_o_p_e_n_s_s_l___e_r_r(3)
HISTORY
_E_R_R___r_e_m_o_v_e___s_t_a_t_e_(_) is available in all versions of SSLeay and OpenSSL.