xref: /freebsd/crypto/openssl/doc/man3/ERR_remove_state.pod (revision d37eb51047221dc3322b34db1038ff3aa533883f)
1=pod
2
3=head1 NAME
4
5ERR_remove_thread_state, ERR_remove_state - DEPRECATED
6
7=head1 SYNOPSIS
8
9The following function has been deprecated since OpenSSL 1.0.0, and can be
10hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
11see L<openssl_user_macros(7)>:
12
13 void ERR_remove_state(unsigned long tid);
14
15The following function has been deprecated since OpenSSL 1.1.0, and can be
16hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
17see L<openssl_user_macros(7)>:
18
19 void ERR_remove_thread_state(void *tid);
20
21=head1 DESCRIPTION
22
23ERR_remove_state() frees the error queue associated with the specified
24thread, identified by B<tid>.
25ERR_remove_thread_state() does the same thing, except the identifier is
26an opaque pointer.
27
28=head1 RETURN VALUES
29
30ERR_remove_state() and ERR_remove_thread_state() return no value.
31
32=head1 SEE ALSO
33
34LL<OPENSSL_init_crypto(3)>
35
36=head1 HISTORY
37
38ERR_remove_state() was deprecated in OpenSSL 1.0.0 and
39ERR_remove_thread_state() was deprecated in OpenSSL 1.1.0; these functions
40and should not be used.
41
42=head1 COPYRIGHT
43
44Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
45
46Licensed under the Apache License 2.0 (the "License").  You may not use
47this file except in compliance with the License.  You can obtain a copy
48in the file LICENSE in the source distribution or at
49L<https://www.openssl.org/source/license.html>.
50
51=cut
52