libressl-ERR_clear_error(3)

libressl-ERR_clear_error3

Clear the openssl error queue

Usage

Crypto Library (libcrypto, -lcrypto)

#include <openssl/err.h>

void

ERR_clear_error(void);

Overview

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

History

ERR_clear_error() first appeared in SSLeay 0.4.4 and has been available since OpenBSD 2.4.

From libressl 4.4.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.