shishi_error_clear(3)
π shishi_error_clear β the little reset button for Shishi's error vibes π
okay bestie, welcome to the shishi_error_clear(3) page from the shishi manual (yes that shishi, the GNU one, hi π). this is the part where we wipe the slate clean. no cap.
β¨ SYNOPSIS β¨
#include <shishi.h>
void shishi_error_clear(Shishi * handle);
likeβ¦ that's it. that's the whole thing. one function, zero return value, maximum peace of mind π§ββοΈ
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). if you don't have one of these yet, bestie, go get one first, this function is literally nothing without it π
πΈ DESCRIPTION πΈ
so what does it do?? it clears the internal error description. poof. gone. the error string said its goodbyes π
if you wanna know how to read that error string, that's a whole other function β go look at shishi_error(). and if you wanna set it instead of clearing it, you've got two options: shishi_error_set() and shishi_error_printf(). pick your fighter β¨
now real talk: this function is mostly for Shishi's internal use. it's the kind of thing the library calls on itself, lowkey. BUT β and this is the fun part β if you're out here developing an extension of Shishi, it may be useful to support the same error handling infrastructure. so like, if you're building on top of it, matching the vibe is chef's kiss π
π REPORTING BUGS π
found a bug?? don't just scream into the void, tell the actual humans:
- Report bugs to
<bug-shishi@gnu.org> - GNU Shishi home page:
http://www.gnu.org/software/shishi/ - General help using GNU software:
http://www.gnu.org/gethelp/
they're nice, i promise. fr fr π«Ά
π COPYRIGHT π
Copyright Β© 2002-2022 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
(translation: go off, remix it, just keep the receipts π)
π SEE ALSO π
the full documentation for shishi is maintained as a Texinfo manual. if the info and shishi programs are properly installed at your site, the command
info shishi
should give you access to the complete manual. it's giving "encyclopedia but make it a terminal" πβ¨
ngl this page is tiny but it ate. clearing errors is self-care and self-care is main character energy. periodt. π
shishi version 1.0.3, page shishi_error_clear(3) β mwah, stan, bye bestie π¦πΈπ
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms