OS Manuals

ERR_clear_error(3ossl)

ERR_clear_error - clear the error queue

ERR_CLEAR_ERROR(3ossl) OpenSSL ERR_CLEAR_ERROR(3ossl)

ERR_clear_error - clear the error queue

 #include <openssl/err.h>
 void ERR_clear_error(void);

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

ERR_clear_error() has no return value.

ERR_get_error(3)

Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.

2026-09-29 4.0.3

openssl-4.0 4.0.3-r1 · os · ingested 2026-10-02