NAME
ERRputerror, ERRadderrordata - record an error
SYNOPSIS
#include
void ERRputerror(int lib, int func, int reason, const char *file, int line); void ERRadderrordata(int num, ...);DESCRIPTION
ERRputerror() 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. ERRadderrordata() associates the concatenation of its nnuumm string arguments with the error code added last. ERRloadstrings(3) can be used to register error strings so that theapplication can a generate human-readable error messages for the error
code.RETURN VALUES
ERRputerror() and ERRadderrordata() return no values.SEE ALSO
err(3), ERRloadstrings(3) HISTORY ERRputerror() is available in all versions of SSLeay and OpenSSL. ERRadderrordata() was added in SSLeay 0.9.0.0.9.7l 2000-02-24 ERRputerror(3)