shishi_principal_default_set(3)
π shishi_principal_default_set π
okay bestie, so this is a page from the shishi manual β yes, the GNU Shishi one, section 3, the library-call section, iykyk. It's all about shishi_principal_default_set, which is literally an API function, no cap. Pull up a chair, we're doing this together π«Ά
β¨ NAME β¨
shishi_principal_default_set β it's an API function, bestie. That's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <shishi.h>
void shishi_principal_default_set(Shishi * handle, const char *
principal);
likeβ¦ look at her. void return, two args, living her truth. π
π¦ ARGUMENTS π¦
Shishi * handleβ this is your Shishi library handle, the one you got fromshishi_init(). Your main character. Your everything. Don't lose her. πconst char * principalβ a string holding the brand new default principal name you want. OR you can passNULLto reset it back to the default. yes,NULLis the "never mind, factory reset me" option and honestly? valid. π
π DESCRIPTION π
okay so here's the tea: this function sets the default principal that the library uses. that's it, that's the function.
and here's the cute part β the string is copied into the library, so the literal second after you call this function you can go ahead and dispose of your variable. free her. she's not needed anymore. the library has her now. β¨
it's giving "you can let go" energy fr fr. ππ
π€ REPORTING BUGS π€
found a bug? not the vibe. tell the people who can fix it:
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 will help you, bestie. that's their whole thing. π«Ά
π 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. slay, open licensing, we love to see it π
π SEE ALSO π
the full documentation for shishi is maintained as a Texinfo manual, periodt. and if the info and shishi programs are properly installed at your site, this command:
info shishi
should give you access to the complete manual. go read her. she's thorough. she's iconic. πβ¨
lowkey reminder: this page is version 1.0.3, and it's part of the shishi manual, dated as such, sourced from the shishi project itself. so if you're citing her, that's the receipt. π
okay bye bestie, go set some principals, you absolute legend πππ¦πΈ
π¦ 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