1ERR_remove_state(3) OpenSSL ERR_remove_state(3)
2
3
4
6 ERR_remove_state - free a thread's error queue
7
9 #include <openssl/err.h>
10
11 void ERR_remove_state(unsigned long pid);
12
14 ERR_remove_state() frees the error queue associated with thread pid.
15 If pid == 0, the current thread will have its error queue removed.
16
17 Since error queue data structures are allocated automatically for new
18 threads, they must be freed when threads are terminated in order to
19 avoid memory leaks.
20
22 ERR_remove_state() returns no value.
23
25 err(3)
26
28 ERR_remove_state() is available in all versions of SSLeay and OpenSSL.
29
30
31
321.0.0e 2000-05-19 ERR_remove_state(3)