Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ERR_clear_error (3openssl)

Name

ERR_clear_error - clear the error queue

Synopsis

#include <openssl/err.h>

void ERR_clear_error(void);

Description

ERR_clear_error(3openssl)           OpenSSL          ERR_clear_error(3openssl)



NAME
       ERR_clear_error - clear the error queue

SYNOPSIS
        #include <openssl/err.h>

        void ERR_clear_error(void);

DESCRIPTION
       ERR_clear_error() empties the current thread's error queue.

RETURN VALUES
       ERR_clear_error() has no return value.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | library/security/openssl |
       +---------------+--------------------------+
       |Stability      | Pass-through uncommitted |
       +---------------+--------------------------+

SEE ALSO
       err(3), ERR_get_error(3)

HISTORY
       ERR_clear_error() is available in all versions of SSLeay and OpenSSL.



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://www.openssl.org/source/openssl-1.0.2ze.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.openssl.org/.



1.0.2ze                           2022-05-03         ERR_clear_error(3openssl)