ERR_put_error(3) OpenSSL ERR_put_error(3) NNAAMMEE ERR_put_error, ERR_add_error_data - record an error SSYYNNOOPPSSIISS #include void ERR_put_error(int lib, int func, int reason, const char *file, int line); void ERR_add_error_data(int num, ...); DDEESSCCRRIIPPTTIIOONN _E_R_R___p_u_t___e_r_r_o_r_(_) adds an error code to the thread's error queue. It sig- nals 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. RREETTUURRNN VVAALLUUEESS _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. SSEEEE AALLSSOO _e_r_r(3), _E_R_R___l_o_a_d___s_t_r_i_n_g_s(3) HHIISSTTOORRYY _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. 1.0.2u 2019-12-20 ERR_put_error(3)