shishi_hostkeys_default_file_set(3)
β¨ shishi_hostkeys_default_file_set(3) β¨
okay bestie, welcome to the shishi manual β yes, the whole library, this page lives in section 3 (library functions, iykyk) π
π NAME π
shishi_hostkeys_default_file_set β the API function that sets your default hostkeys file, periodt πΈ
π¦ SYNOPSIS π¦
#include <shishi.h>
void shishi_hostkeys_default_file_set(Shishi * handle, const char *
hostkeysfile);
π ARGUMENTS π
Shishi * handleβ the Shishi library handle, and you gotta make it withshishi_init()first, no shortcuts πconst char * hostkeysfileβ a string holding the new default hostkeys file name. Or passNULLif you're feeling chaotic and want to reset it back to the default π
β¨ DESCRIPTION β¨
So basically, this function sets the default host key filename that the library uses. main character behaviour π
And here's the slay part: the string gets copied into the library, so you can literally dispose of your variable the second after you call this function. No lingering pointers, no "wait did I free that too early" panic, none of it. It's giving considerate. π«Ά
π REPORTING BUGS π
Found a bug? Not the vibe. Report it to <bug-shishi@gnu.org> so the devs can handle it fr fr π
- 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. (Yes bestie, keep the notice, it's the rule β)
π 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, then this command:
info shishi
should give you access to the complete manual. Go read it, it ate. π
and that's the whole page, bestie β this was shishi version 1.0.3, page shishi_hostkeys_default_file_set(3), dropping the mic π β¨
π¦ 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