shishi_ap_option2string(3)
π shishi_ap_option2string(3) π
okay bestie, we're diving into the shishi manual and this one is a lil function called shishi_ap_option2string. it's giving "translator" energy and honestly? iconic. let's get into it π¦
β¨ NAME β¨
shishi_ap_option2string β an API function, no cap π
πΈ SYNOPSIS πΈ
#include <shishi.h>
const char * shishi_ap_option2string(Shishi_apoptions option);
π ARGUMENTS π
Shishi_apoptions optionβ this is an enumerated AP-Option type, like, literally go look atShishi_apoptionsfor the full menu of options. it's a whole vibe list π«Ά
π« DESCRIPTION π«
so what does this do? it takes an AP-Option type and converts it into the AP-Option name string. simple. clean. slay β¨
but listen β important caveat β option has to be just one of the AP-Option types. it literally cannot be a binary ORed thing indicating several AP-Options at once. one option only, bestie, we are not doing combos here π
π₯ RETURN VALUE π₯
it hands you back a static string with the name of the AP-Option β and no, you must not deallocate it, so don't you dare free() it, it's not yours π«
and if the AP-Option wasn't understood? you get "unknown". that's it. that's the tea π
π REPORTING BUGS π
found a bug? spill 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.
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 yes, share the love, just keep the receipts π
π SEE ALSO π
the full documentation for shishi lives in a Texinfo manual, bestie. 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 πβ¨
okay that's the whole page!! this was shishi, version 1.0.3, dated with the shishi_ap_option2string(3) page β mwah, go forth and convert those options, you absolute main character π§π
π¦ 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