ERR_put_error 3 2000-07-16 0.9.9-dev OpenSSL
NAME
ERR_put_error, ERR_add_error_data - record an error
LIBRARY
libcrypto, -lcrypto
SYNOPSIS
#include
void ERR_put_error(int lib, int func, int reason, const char *file,
int line);
void ERR_add_error_data(int num, ...);
DESCRIPTION
_E_R_R___p_u_t___e_r_r_o_r_(_) adds an error code to the thread's error queue. It
signals that the error of reason code rreeaassoonn occurred in function
ffuunncc of library lliibb, in line number lliinnee of ffiillee.
This function is usually called by a macro.
_E_R_R___a_d_d___e_r_r_o_r___d_a_t_a_(_) associates the concatenation of its nnuumm string
arguments with the error code added last.
_E_R_R___l_o_a_d___s_t_r_i_n_g_s(3) can be used to register
error strings so that the application can a generate human-readable
error messages for the error code.
RETURN VALUES
_E_R_R___p_u_t___e_r_r_o_r_(_) and _E_R_R___a_d_d___e_r_r_o_r___d_a_t_a_(_) return
no values.
SEE ALSO
_o_p_e_n_s_s_l___e_r_r(3), _E_R_R___l_o_a_d___s_t_r_i_n_g_s(3)
HISTORY
_E_R_R___p_u_t___e_r_r_o_r_(_) is available in all versions of SSLeay and OpenSSL.
_E_R_R___a_d_d___e_r_r_o_r___d_a_t_a_(_) was added in SSLeay 0.9.0.