shishi_keys_nth(3)
π shishi_keys_nth(3) π
okay bestie, welcome to the shishi section 3 manual, the one and only. this page is about shishi_keys_nth β it's giving "grab one specific key out of the pile" energy and honestly? iconic.
β¨ NAME β¨
shishi_keys_nth β API function π
πΈ SYNOPSIS πΈ
#include <shishi.h>
const Shishi_key * shishi_keys_nth(Shishi_keys * keys, int keyno);
π¦ ARGUMENTS π¦
Shishi_keys * keysβ the key set handle, aka the lil bundle you got fromshishi_keys(). bestie, it has to be allocated first, no cap.int keynoβ an integer saying which key in the key set you're asking for. the vibes must be specific.
π GET THE N-th TICKET IN KEY SET π
(yes that's literally the section name, and yes it's a little mysterious, and yes we love that for it)
π RETURN VALUE π
Returns a key handle pointing at the keyno:th key in the key set. slay.
But listen β it returns NULL if keys is invalid or if keyno is out of bounds. π« so do the vibe check, okay?
And the counting is zero-indexed, fr fr:
- the first key is
keyno0 - the second key is
keyno1 - and so on, forever and ever, amen β¨
β οΈ don't forget: ifkeynodoesn't exist, you getNULLback, not a crash, not a key, just a sad littleNULL. handle it. π
π REPORTING BUGS π
found a bug? spill the tea to <bug-shishi@gnu.org>. they want to know. π
- 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. that's the license, bestie, we keep it exactly as it is β no edits, no erasing, periodt.
β 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, it's the main character of documentation. πβ¨
and that's the whole page!! π this was the shishi manual, version 1.0.3, and we're signing off from shishi_keys_nth(3) β stay indexed, stay iconic, love u bye ππ§πΈ
π¦ 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