ERR_CLEAR_ERROR(3)

πŸ“¦ version 4.4.0, in alpine 3.24, arch rolling

πŸŽ€ NAME πŸŽ€

okay so this is ERR_CLEAR_ERROR(3) from the Library Functions Manual, and bestie, it does exactly one iconic little thing:

ERR_clear_error β€” clear the OpenSSL error queue. that’s literally the whole vibe ✨


πŸ’… SYNOPSIS πŸ’…

the library line and the signature are exactly this, no cap:

library β€œlibcrypto” #include <openssl/err.h>

void
ERR_clear_error(void);

🌸 DESCRIPTION 🌸

ERR_clear_error() empties the current thread’s error queue. yep, that’s it. it just empties it β€” current thread’s queue, specifically. slay πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

go read those if you want the rest of the lore 🫢


✨ HISTORY ✨

ERR_clear_error() first appeared in SSLeay 0.4.4 and has been available since OpenBSD 2.4. ancient history but make it cute πŸ’€πŸ‘‘


πŸ’– cute sign-off: source/version is Debian, dated June 8, 2025. periodt, bye bestie! πŸ’…πŸŒˆ

πŸ“¦ where this page comes from