shishi_keys_fo...errealm_in_file(3)
π shishi_keys_fo...errealm_in_file(3) π
okay bestie, welcome to section 3 of the shishi manual β yes, the manual name is literally shishi, we're in the deep lore now. this one is an API function, and it's a whole vibe. let's get into it π¦
β¨ NAME β¨
shishi_keys_for_serverrealm_in_file β it's an API function, periodt.
πΈ SYNOPSIS πΈ
#include <shishi.h>
Shishi_key * shishi_keys_for_serverrealm_in_file(Shishi * handle, const
char * filename, const char * server, const char * realm);
π ARGUMENTS π
Shishi * handleβ the Shishi library handle, made byshishi_init(). it's giving "the main character" of every call fr fr πconst char * filenameβ the file we're reading keys from. that's the whole assignment bestie ποΈconst char * serverβ the server name you want a key for πconst char * realmβ the realm of that server you want a key for π
π«Ά DESCRIPTION π«Ά
so like, this function gets the keys that match the server and realm you specified, pulling them out of the key set file called filename. that's it, that's the job, and it does it flawlessly no cap β¨
β RETURN VALUE β
it returns the key for that specific server and realm, read straight out of the file you pointed at. OR β and this is the part we don't love β it returns NULL if no key could be found, or if an error got encountered along the way π so always check, bestie, don't just assume.
π REPORTING BUGS π
found a bug? not the vibe. 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.
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. iconic behaviour honestly, slay.
π§ SEE ALSO π§
the full documentation for shishi is maintained as a Texinfo manual β yes, a whole Texinfo manual, it's a lot, we respect it π. 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 whole page, bestie!! nothing skipped, every last flag and fact accounted for π
signing off from the shishi manual, version 1.0.3, page shishi_keys_fo...errealm_in_file(3) β go read your keys, stay hydrated, and don't forget to check for NULL π
π
π¦ 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