1ERR_remove_state(3)                 OpenSSL                ERR_remove_state(3)
2
3
4

NAME

6       ERR_remove_state - free a thread's error queue
7

SYNOPSIS

9        #include <openssl/err.h>
10
11        void ERR_remove_state(unsigned long pid);
12

DESCRIPTION

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

RETURN VALUE

22       ERR_remove_state() returns no value.
23

SEE ALSO

25       err(3)
26

HISTORY

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)
Impressum