- NAME
- SYNOPSIS
- DESCRIPTION
- RETURN VALUES
- SEE ALSO
- COPYRIGHT

# 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_get_error(3)

# COPYRIGHT

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.