shishi_keys_from_file(3)
π shishi_keys_from_file(3) π
okay bestie, welcome to the shishi manual, section 3, and today's main character is shishi_keys_from_file. it's an API function, it's lowkey iconic, and it's about to load up your keyring like it's a group chat. let's go π¦
β¨ NAME β¨
shishi_keys_from_file β API function π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_keys_from_file(Shishi_keys * keys, const char * filename);
like. that's it. that's the whole vibe. two arguments, one int, no drama π
β¨ ARGUMENTS β¨
Shishi_keys * keysβ your key set handle, bestie. the one you got fromshishi_keys(), no substitutions allowed, this is that handle πconst char * filenameβ the filename you wanna read keys from. yes, the actual file. yes, spelled exactly like that β¨
β¨ DESCRIPTION β¨
so here's the tea: this function reads zero or more keys out of the file filename and appends them to the keyset keys. zero! so if the file's giving nothing, that's still valid, no shame π
and if you wanna know what the input is supposed to look like? that's shishi_key_print()'s whole job β go check that one for the format, iykyk π
note: it appends. it does not yeet what's already in your keyset. your existing keys stay put, periodt.
β¨ RETURN VALUE β¨
returns SHISHI_OK iff successful. that "iff" is doing heavy lifting fr fr β anything else and something went sideways π
β¨ SINCE β¨
0.0.42 β ancient. elder statesman energy. it was slaying before you were born π
β¨ REPORTING BUGS β¨
found a bug? don't be shy, 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. (translation: go off, just keep the receipt π§Ύπ)
β¨ SEE ALSO β¨
the full documentation for shishi lives in 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. that's the whole entire lore, bestie π
and that's a wrap!! this page came to you from shishi, version 1.0.3, filed under shishi_keys_from_file(3). stay hydrated, read your man pages, and go append some keys π«Άβ¨π
π¦ 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