Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
ERR_clear_error(3) LibreSSL ERR_clear_error(3)

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.

SEE ALSO

err(3), ERR_get_error(3)

HISTORY

ERR_clear_error() is available in all versions of SSLeay and OpenSSL.
2015-10-26 LibreSSL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org