shishi_key_from_value(3)
π shishi_key_from_value β the manual page, but make it make sense π
okay bestie, so this is shishi_key_from_value(3), living in the shishi manual section. it's an API function and honestly? it's giving "i make keys out of thin air" and i'm obsessed. π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_key_from_value(Shishi * handle, int32_t type, const char *
value, Shishi_key ** key);
likeβ¦ four things in, one int out. slay. π
πΈ ARGUMENTS πΈ
Shishi * handleβ the Shishi library handle, the one you made withshishi_init(). it's literally the whole vibe of your session, don't lose it π«Άint32_t typeβ the type of key. that's it, that's the whole description, periodt.const char * valueβ an input array holding the key value, orNULLif you simply don't have one. no key value? valid. iconic, even.Shishi_key ** keyβ a pointer to the structure that's gonna hold the newly created key information. she's a double pointer because she's that girl π
π DESCRIPTION π
so the whole plot: you call this, and it creates a brand new Key information structure, then sets the key type and the key value on it. two for one, we love efficiency. β¨
heads up bestie β KEY contains a newly allocated structure only if this function is successful. no success, no allocation. the way that matters π
β RETURN VALUE β
returns SHISHI_OK iff successful. that's the only good outcome and she knows it. anything else is not the moment. π
π¦ REPORTING BUGS π¦
found a bug? (not me manifesting it π) 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. fr fr, that's the whole license vibe. π
π 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, the command
info shishi
should give you access to the complete manual. go read it bestie, it's giving main character energy πβ¨
and that's the whole page π β this was shishi_key_from_value(3) from shishi 1.0.3, brought to you straight from the manual. bye bestie, go make 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