1*10e00d17Sschwarze.\" $OpenBSD: ERR_clear_error.3,v 1.5 2018/03/27 17:35:50 schwarze Exp $ 2c4bf3975Sschwarze.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 38974101aSjmc.\" 4c4bf3975Sschwarze.\" This file was written by Ulf Moeller <ulf@openssl.org>. 5c4bf3975Sschwarze.\" Copyright (c) 2000 The OpenSSL Project. All rights reserved. 6c4bf3975Sschwarze.\" 7c4bf3975Sschwarze.\" Redistribution and use in source and binary forms, with or without 8c4bf3975Sschwarze.\" modification, are permitted provided that the following conditions 9c4bf3975Sschwarze.\" are met: 10c4bf3975Sschwarze.\" 11c4bf3975Sschwarze.\" 1. Redistributions of source code must retain the above copyright 12c4bf3975Sschwarze.\" notice, this list of conditions and the following disclaimer. 13c4bf3975Sschwarze.\" 14c4bf3975Sschwarze.\" 2. Redistributions in binary form must reproduce the above copyright 15c4bf3975Sschwarze.\" notice, this list of conditions and the following disclaimer in 16c4bf3975Sschwarze.\" the documentation and/or other materials provided with the 17c4bf3975Sschwarze.\" distribution. 18c4bf3975Sschwarze.\" 19c4bf3975Sschwarze.\" 3. All advertising materials mentioning features or use of this 20c4bf3975Sschwarze.\" software must display the following acknowledgment: 21c4bf3975Sschwarze.\" "This product includes software developed by the OpenSSL Project 22c4bf3975Sschwarze.\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 23c4bf3975Sschwarze.\" 24c4bf3975Sschwarze.\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 25c4bf3975Sschwarze.\" endorse or promote products derived from this software without 26c4bf3975Sschwarze.\" prior written permission. For written permission, please contact 27c4bf3975Sschwarze.\" openssl-core@openssl.org. 28c4bf3975Sschwarze.\" 29c4bf3975Sschwarze.\" 5. Products derived from this software may not be called "OpenSSL" 30c4bf3975Sschwarze.\" nor may "OpenSSL" appear in their names without prior written 31c4bf3975Sschwarze.\" permission of the OpenSSL Project. 32c4bf3975Sschwarze.\" 33c4bf3975Sschwarze.\" 6. Redistributions of any form whatsoever must retain the following 34c4bf3975Sschwarze.\" acknowledgment: 35c4bf3975Sschwarze.\" "This product includes software developed by the OpenSSL Project 36c4bf3975Sschwarze.\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" 37c4bf3975Sschwarze.\" 38c4bf3975Sschwarze.\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 39c4bf3975Sschwarze.\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 40c4bf3975Sschwarze.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 41c4bf3975Sschwarze.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 42c4bf3975Sschwarze.\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 43c4bf3975Sschwarze.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 44c4bf3975Sschwarze.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 45c4bf3975Sschwarze.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46c4bf3975Sschwarze.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 47c4bf3975Sschwarze.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 48c4bf3975Sschwarze.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49c4bf3975Sschwarze.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50c4bf3975Sschwarze.\" 51*10e00d17Sschwarze.Dd $Mdocdate: March 27 2018 $ 5223a520a8Sschwarze.Dt ERR_CLEAR_ERROR 3 5323a520a8Sschwarze.Os 5423a520a8Sschwarze.Sh NAME 5523a520a8Sschwarze.Nm ERR_clear_error 5623a520a8Sschwarze.Nd clear the OpenSSL error queue 5723a520a8Sschwarze.Sh SYNOPSIS 5823a520a8Sschwarze.In openssl/err.h 5923a520a8Sschwarze.Ft void 6023a520a8Sschwarze.Fn ERR_clear_error void 6123a520a8Sschwarze.Sh DESCRIPTION 6223a520a8Sschwarze.Fn ERR_clear_error 6323a520a8Sschwarzeempties the current thread's error queue. 6423a520a8Sschwarze.Sh SEE ALSO 6523a520a8Sschwarze.Xr ERR 3 , 6623a520a8Sschwarze.Xr ERR_get_error 3 6723a520a8Sschwarze.Sh HISTORY 6823a520a8Sschwarze.Fn ERR_clear_error 69*10e00d17Sschwarzefirst appeared in SSLeay 0.4.4 and has been available since 7097a467b5Sschwarze.Ox 2.4 . 71