ERR_CLEAR_ERROR(3ossl)

πŸ“¦
version 15.1 Β· 3 versions
, in freebsd 15.1

πŸ’… NAME πŸ’…

okay so bestie, gather round β€” ERR_clear_error is literally the "clear the error queue" girlie. that's it. that's the whole job. she empties the error queue for the current thread and dips ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <openssl/err.h>

void ERR_clear_error(void);

no arguments, no drama, no return value β€” just vibes and a clean slate 🫢


🌸 DESCRIPTION 🌸

ERR_clear_error() empties the current thread's error queue. like, all of it. gone. poof. the queue is empty now, bestie πŸ’…

that's genuinely the entire plot. no plot twists, no hidden lore β€” she takes the current thread's error queue and clears it, full stop. iykyk ✨


πŸ¦‹ RETURN VALUES πŸ¦‹

ERR_clear_error() has no return value. none. zero. she gives you nothing back and honestly? icon behavior πŸ‘‘


⭐ SEE ALSO ⭐

  • ERR_get_error(3) β€” go read that one too, bestie, it's the opposite energy 🌈

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>.

fr fr read the license before you do anything, that's not a suggestion πŸ’€

mwah πŸ’– that's the whole page β€” OpenSSL version 3.5.6, dated 2026-04-07, and yes she ate. periodt.

πŸ“¦ where this page comes from