~andersk/ubuntu/oneiric/openssl/spurious-reboot

« back to all changes in this revision

Viewing changes to doc/crypto/ERR_remove_state.pod

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Martin
  • Date: 2004-05-24 17:02:29 UTC
  • Revision ID: james.westby@ubuntu.com-20040524170229-ixlo08bbbly0xied
Tags: upstream-0.9.7d
ImportĀ upstreamĀ versionĀ 0.9.7d

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=pod
 
2
 
 
3
=head1 NAME
 
4
 
 
5
ERR_remove_state - free a thread's error queue
 
6
 
 
7
=head1 SYNOPSIS
 
8
 
 
9
 #include <openssl/err.h>
 
10
 
 
11
 void ERR_remove_state(unsigned long pid);
 
12
 
 
13
=head1 DESCRIPTION
 
14
 
 
15
ERR_remove_state() frees the error queue associated with thread B<pid>.
 
16
If B<pid> == 0, the current thread will have its error queue removed.
 
17
 
 
18
Since error queue data structures are allocated automatically for new
 
19
threads, they must be freed when threads are terminated in order to
 
20
avoid memory leaks.
 
21
 
 
22
=head1 RETURN VALUE
 
23
 
 
24
ERR_remove_state() returns no value.
 
25
 
 
26
=head1 SEE ALSO
 
27
 
 
28
L<err(3)|err(3)>
 
29
 
 
30
=head1 HISTORY
 
31
 
 
32
ERR_remove_state() is available in all versions of SSLeay and OpenSSL.
 
33
 
 
34
=cut