ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

This manual page is associated with the Mac OS X developer tools. The software or headers described may not be present on your Mac OS X installation until you install the developer tools package. This package is available on your Mac OS X installation DVD, and the latest versions can be downloaded from developer.apple.com.

For more information about the manual page format, see the manual page for manpages(5).



ERR_put_error(3)                                   OpenSSL                                  ERR_put_error(3)



NAME
       ERR_put_error, ERR_add_error_data - record an error

SYNOPSIS
        #include <openssl/err.h>

        void ERR_put_error(int lib, int func, int reason, const char *file,
                int line);

        void ERR_add_error_data(int num, ...);

DESCRIPTION
       ERR_put_error() adds an error code to the thread's error queue. It signals that the error of reason
       code reason occurred in function func of library lib, in line number line of file.  This function is
       usually called by a macro.

       ERR_add_error_data() associates the concatenation of its num string arguments with the error code
       added last.

       ERR_load_strings(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
       ERR_put_error() and ERR_add_error_data() return no values.

SEE ALSO
       err(3), ERR_load_strings(3)

HISTORY
       ERR_put_error() is available in all versions of SSLeay and OpenSSL.  ERR_add_error_data() was added
       in SSLeay 0.9.0.



0.9.7l                                           2000-02-24                                 ERR_put_error(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.