File: ERR_load_crypto_strings.pod

package info (click to toggle)
openssl 1.0.1k-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 26,932 kB
  • sloc: ansic: 274,094; perl: 69,104; makefile: 13,221; asm: 9,007; cpp: 4,367; sh: 3,416; lisp: 24
file content (46 lines) | stat: -rw-r--r-- 1,038 bytes parent folder | download | duplicates (23)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
=pod

=head1 NAME

ERR_load_crypto_strings, SSL_load_error_strings, ERR_free_strings -
load and free error strings

=head1 SYNOPSIS

 #include <openssl/err.h>

 void ERR_load_crypto_strings(void);
 void ERR_free_strings(void);

 #include <openssl/ssl.h>

 void SSL_load_error_strings(void);

=head1 DESCRIPTION

ERR_load_crypto_strings() registers the error strings for all
B<libcrypto> functions. SSL_load_error_strings() does the same,
but also registers the B<libssl> error strings.

One of these functions should be called before generating
textual error messages. However, this is not required when memory
usage is an issue.

ERR_free_strings() frees all previously loaded error strings.

=head1 RETURN VALUES

ERR_load_crypto_strings(), SSL_load_error_strings() and
ERR_free_strings() return no values.

=head1 SEE ALSO

L<err(3)|err(3)>, L<ERR_error_string(3)|ERR_error_string(3)>

=head1 HISTORY

ERR_load_error_strings(), SSL_load_error_strings() and
ERR_free_strings() are available in all versions of SSLeay and
OpenSSL.

=cut