1ERR_PRINT_ERRORS(3)                 OpenSSL                ERR_PRINT_ERRORS(3)
2
3
4

NAME

6       ERR_print_errors, ERR_print_errors_fp, ERR_print_errors_cb - print
7       error messages
8

SYNOPSIS

10        #include <openssl/err.h>
11
12        void ERR_print_errors(BIO *bp);
13        void ERR_print_errors_fp(FILE *fp);
14        void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), void *u)
15

DESCRIPTION

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

RETURN VALUES

40       ERR_print_errors() and ERR_print_errors_fp() return no values.
41

SEE ALSO

43       ERR_error_string(3), ERR_get_error(3)
44
46       Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
47
48       Licensed under the OpenSSL license (the "License").  You may not use
49       this file except in compliance with the License.  You can obtain a copy
50       in the file LICENSE in the source distribution or at
51       <https://www.openssl.org/source/license.html>.
52
53
54
551.1.1c                            2019-05-28               ERR_PRINT_ERRORS(3)
Impressum