shishi_error(3)
π shishi_error(3) β the shishi manual, bestie edition π
okay so this is a page from the shishi manual, and it's literally all about one tiny lil function that tells you what went wrong. no cap. let's get into it π¦
β¨ NAME β¨
shishi_error β it's an API function, babe. that's the whole vibe π
β¨ SYNOPSIS β¨
#include <shishi.h>
const char * shishi_error(Shishi * handle);
look at her. one function. one argument. she's serving simplicity π
β¨ ARGUMENTS β¨
Shishi * handleβ this is your shishi handle, and you get one by callingshishi_init(). that's it, that's the arg π
β¨ DESCRIPTION β¨
okay so what does she do. she extracts the detailed tea β on the most recently occurred error condition. like, the error that just happened. that one. she's your girl for that.
β οΈ IMPORTANT, bestie: the memory here is managed by the Shishi library itself. so that string she hands you? do not deallocate it. not even a little. she owns it, you're just borrowing it. hands off π
β¨ RETURN VALUE β¨
she returns a pointer to a string that describes an error. that's it. that's the whole gift π
and fr fr, once more for the people in the back: the string must not be deallocated by the caller. you. you are the caller. do not deallocate it. periodt π
β¨ REPORTING BUGS β¨
found a bug? first of all, iconic of you for noticing. report it 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/
β¨ COPYRIGHT β¨
Copyright Β© 2002-2022 Simon Josefsson. π
and the licensing vibe is: 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. so like, go off, but 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, this command:
info shishi
should give you access to the complete manual. iykyk πβ¨
and that's the page, bestie π this was shishi 1.0.3, page shishi_error(3) β stay curious, read your manpages, and never deallocate a string the library gave you ππ¦β¨
π¦ 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