f1eccafe759673cacf3fa93f6f573885a6c12cf9
[openssl.git] / doc / crypto / ERR_remove_state.pod
1 =pod
2
3 =head1 NAME
4
5 ERR_remove_thread_state, ERR_remove_state - DEPRECATED
6
7 =head1 SYNOPSIS
8
9 Deprecated:
10
11  #if OPENSSL_API_COMPAT < 0x10000000L
12  void ERR_remove_state(unsigned long pid);
13  #endif
14
15  #if OPENSSL_API_COMPAT < 0x10100000L
16  void ERR_remove_thread_state(void *);
17  #endif
18
19 =head1 DESCRIPTION
20
21 The functions described here were used to free the error queue
22 associated with the current or specificed thread.
23
24 They are now deprecated and do nothing, as the OpenSSL libraries now
25 normally do all thread initialisation and deinitialisation
26 automatically (see L<OPENSSL_init_crypto(3)>).
27
28 =head1 RETURN VALUE
29
30 The functions described here return no value.
31
32 =head1 SEE ALSO
33
34 L<err(3)>, L<OPENSSL_init_crypto(3)>
35
36 =head1 HISTORY
37
38 ERR_remove_state() was deprecated in OpenSSL 1.0.0 when
39 ERR_remove_thread_state() was introduced.
40
41 ERR_remove_thread_state() was deprecated in OpenSSL 1.1.0 when the
42 thread handling functionality was entirely rewritten.
43
44 =cut
45
46 =head1 COPYRIGHT
47
48 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
49
50 Licensed under the OpenSSL license (the "License").  You may not use
51 this file except in compliance with the License.  You can obtain a copy
52 in the file LICENSE in the source distribution or at
53 L<https://www.openssl.org/source/license.html>.
54
55 =cut