shishi_safe_set_user_data(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_safe_set_user_data β€” the manual, but make it cute ✨

okay bestie, this one lives in the shishi manual (section 3, the library-call girlies 🫢). it's called shishi_safe_set_user_data, and no cap, its whole personality is: you got some app data? we're putting it in the SAFE. that's it. that's the function. iconic behaviour honestly πŸ’…


🌸 NAME 🌸

shishi_safe_set_user_data β€” literally an API function, that's the whole name, she's mysterious like that


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_safe_set_user_data(Shishi * handle, Shishi_asn1 safe, const
char * userdata, size_t userdatalen);

like yes, you have to #include <shishi.h> first, we don't make the rules (we do, but still) πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi * handle β€” the shishi handle, bestie. you get one from shishi_init(). no handle, no vibes, no function.
  • Shishi_asn1 safe β€” a safe, allocated by shishi_safe(). yes it's called safe, yes you need one, periodt.
  • const char * userdata β€” the input user application you wanna store in the SAFE. your little data. your baby. πŸ“
  • size_t userdatalen β€” the size of that input user application you're storing in the SAFE. because C needs to know how long things are, always, forever, lowkey exhausting 😭

πŸ’œ DESCRIPTION πŸ’œ

Set the application data in SAFE.

that's it. that's the description. the original said it in one line and honestly? she ate. short, sweet, no filler, main character energy πŸ‘‘


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. and if it's not successful, it does not return SHISHI_OK, which is your sign that something went sideways fr fr πŸ™ˆ


🌈 REPORTING BUGS 🌈

found a bug? don't suffer in silence, bestie, tell the people:

Report bugs to <bug-shishi@gnu.org>.

they want to hear from you, i promise 🫢


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.

(translation: go off, share it, remix it, just keep the receipt πŸ’–)


🧚 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 the mothership, go read her, iykyk πŸ’€βœ¨


and that's the whole page, babe. this was the shishi_safe_set_user_data(3) man page from shishi version 1.0.3 β€” mwah, no notes, go set some user data, slay πŸ’…πŸŽ€πŸ’œ