1ERR_put_error(3)                    OpenSSL                   ERR_put_error(3)
2
3
4

NAME

6       ERR_put_error, ERR_add_error_data - record an error
7

SYNOPSIS

9        #include <openssl/err.h>
10
11        void ERR_put_error(int lib, int func, int reason, const char *file,
12                int line);
13
14        void ERR_add_error_data(int num, ...);
15

DESCRIPTION

17       ERR_put_error() adds an error code to the thread's error queue. It sig‐
18       nals that the error of reason code reason occurred in function func of
19       library lib, in line number line of file.  This function is usually
20       called by a macro.
21
22       ERR_add_error_data() associates the concatenation of its num string
23       arguments with the error code added last.
24
25       ERR_load_strings(3) can be used to register error strings so that the
26       application can a generate human-readable error messages for the error
27       code.
28

RETURN VALUES

30       ERR_put_error() and ERR_add_error_data() return no values.
31

SEE ALSO

33       err(3), ERR_load_strings(3)
34

HISTORY

36       ERR_put_error() is available in all versions of SSLeay and OpenSSL.
37       ERR_add_error_data() was added in SSLeay 0.9.0.
38
39
40
410.9.8b                            2000-02-24                  ERR_put_error(3)
Impressum