shishi_ap_done(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_ap_done β€” the manual page, but make it make sense πŸ’–

okay bestie, welcome to the shishi manual, section 3 (that's the library-functions girlies, iykyk). this one's about shishi_ap_done. she's short, she's sweet, she's the cleanup queen. let's get into it ✨


🌸 NAME 🌸

shishi_ap_done β€” literally just an API function, no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

void shishi_ap_done(Shishi_ap * ap);

like. that's the whole thing. one include, one function call. she's low maintenance fr fr πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • Shishi_ap * ap β€” this is the structure that holds all the info about your AP exchange. it's giving "the main character of this function," and yes she needs to be passed in. no ap, no cleanup. periodt.

✨ DESCRIPTION ✨

so here's the vibe: shishi_ap_done deallocates the resources associated with the AP exchange. that's it. that's the job. she frees the stuff, she tidies up, she closes the door behind her on the way out πŸšͺ✨

and the important part, bestie β€” this should be called by the application when it no longer needs to utilize the AP exchange handle. translation: once you're done with your Shishi_ap, you call this. don't just ghost your AP exchange handle, that's rude and also it leaks. you finish the exchange, you call shishi_ap_done, you move on with your life. it's called having closure πŸ’–

no, seriously, call it. the whole point is to release the resources. it's the "and that's on periodt" of your AP exchange lifecycle.

😭 REPORTING BUGS 😭

found a bug? don't suffer in silence, tell the maintainers! report bugs to <bug-shishi@gnu.org>.

they wanna hear from you, fr fr. bugs are just features that need a glow-up πŸ›βž‘οΈπŸ¦‹


Copyright Β© 2002-2022 Simon Josefsson.

and the legal bit, verbatim energy: 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. so like β€” share it, remix it, screenshot it, just keep the receipts. slay πŸ’…


🌈 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 deep lore, the extended universe, the director's cut 🎬 go read it, bestie.


mwah πŸ’‹ that's the whole page. this was shishi version 1.0.3, and yeah β€” this is shishi_ap_done(3), signing off. clean up your handles, hydrate, and remember: free your resources and free yourself 🫢✨