1ERR_print_errors(3)                 OpenSSL                ERR_print_errors(3)
2
3
4

NAME

6       ERR_print_errors, ERR_print_errors_fp - print error messages
7

SYNOPSIS

9        #include <openssl/err.h>
10
11        void ERR_print_errors(BIO *bp);
12        void ERR_print_errors_fp(FILE *fp);
13

DESCRIPTION

15       ERR_print_errors() is a convenience function that prints the error
16       strings for all errors that OpenSSL has recorded to bp, thus emptying
17       the error queue.
18
19       ERR_print_errors_fp() is the same, except that the output goes to a
20       FILE.
21
22       The error strings will have the following format:
23
24        [pid]:error:[error code]:[library name]:[function name]:[reason string]:[file name]:[line]:[optional text message]
25
26       error code is an 8 digit hexadecimal number. library name, function
27       name and reason string are ASCII text, as is optional text message if
28       one was set for the respective error code.
29
30       If there is no text string registered for the given error code, the
31       error string will contain the numeric code.
32

RETURN VALUES

34       ERR_print_errors() and ERR_print_errors_fp() return no values.
35

SEE ALSO

37       err(3), ERR_error_string(3), ERR_get_error(3),
38       ERR_load_crypto_strings(3), SSL_load_error_strings(3)
39

HISTORY

41       ERR_print_errors() and ERR_print_errors_fp() are available in all
42       versions of SSLeay and OpenSSL.
43
44
45
461.0.2o                            2018-03-27               ERR_print_errors(3)
Impressum