shishi_key_principal_set(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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>.

go tell them, they wanna know, fr fr πŸ“


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 β­πŸ’–πŸŒΈ