shishi_key_value(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_value(3) β€” the one where we peek at the raw key bytes πŸ’–

okay bestie, welcome to the shishi manual, page three of the key saga πŸŽ€ this is the glow-up page for shishi_key_value, and no cap it's a short one but it's iconic.


✨ SYNOPSIS ✨

#include <shishi.h>

const char * shishi_key_value(const Shishi_key * key);

like. that's it. that's the whole vibe. one function, one job, zero drama πŸ¦‹


🌸 ARGUMENTS 🌸

  • const Shishi_key * key β€” this is the structure that holds key information. the little container where your key lives its best life πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

so basically, this function gets the raw key bytes. that's the whole thing. no transformation, no remixing, no ✨aesthetic✨ filtering β€” it just hands you the raw material, straight up. it's giving "here's the key, do what you want with it" 🫢


⭐ RETURN VALUE ⭐

it returns the key value as a pointer, and here's the important part bestie β€” that pointer is valid throughout the lifetime of the key structure. so as long as your Shishi_key is alive and thriving, that pointer stays valid. main character energy, fr fr πŸ‘‘

don't let the key structure go away and then act surprised when the pointer's still hanging around. it's not a ghost, it's just tied to the key's lifetime. iykyk πŸ’€

πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? spill the tea, not the silence:


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. slay, legally speaking βš–οΈβœ¨


🌈 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. it's the whole lore, go read it πŸ“–πŸ’–


and that's a wrap on shishi_key_value(3) from shishi version 1.0.3, bestie πŸ’…πŸΌ stay valid, stay raw, and remember β€” the pointer's only as good as the key it came from. periodt. πŸ¦‹πŸ’–πŸŽ€