shishi_key_principal_set(3)
π shishi_key_principal_set(3) π
okay bestie, welcome to section 3 of the shishi manual β this one's a tiny little function but it's lowkey carrying the whole "whose key is this anyway" situation, and honestly? iconic. π
β¨ NAME β¨
shishi_key_principal_set β an API function, and yes that's literally its whole job description, she's humble like that π
πΈ SYNOPSIS πΈ
#include <shishi.h>
void shishi_key_principal_set(Shishi_key * key, const char * principal);
look at her. two args, returns nothing, no drama. main character energy fr fr β¨
π¦ ARGUMENTS π¦
Shishi_key * keyβ the structure that holds key information. she's the one getting a new label, she's the moment πconst char * principalβ a string with the new principal name. this is what's being written in, the glow-up in text form π«Ά
π« DESCRIPTION π«
so basically, this function sets the principal that owns the key. like, assigning the key its person. the string is copied into the key, which is the important part bestie β that means you can dispose of the variable immediately after calling this function. no waiting, no keeping it around, no "just in case" hoarding. you call it, you free your thing, you move on. periodt. π
ngl that copy behaviour is the whole vibe check of this function and she passed π
π REPORTING BUGS π
found something cursed? not me gatekeeping β report bugs 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/
go tell them, they wanna know, fr fr π
π 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 it, that's the permission slip, and honestly it ate π
π 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. that's your one-stop shop for the entire lore, iykyk π§
okay that's the whole page, love you, bye β this was shishi version 1.0.3, shishi_key_principal_set(3), delivered to you with zero context switches and maximum sparkle βππΈ
π¦ 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