shishi_as_tkt(3)

πŸ“¦
version 1.0.3 Β· 3 versions
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute

πŸ’– shishi_as_tkt β€” the manual page, but make it make sense πŸ’–

okay bestie, welcome to the shishi_as_tkt(3) glow-up ✨ this is one of the shishi library pages (section 3, the C API girlies), and honestly? it's a short one. we love a low-effort bop. πŸŽ€


🌸 NAME 🌸

shishi_as_tkt β€” an API function, periodt. that's the whole name section, she's concise. πŸ’…


✨ SYNOPSIS ✨

so here's the vibe. you pull in the header:

#include <shishi.h>

and then you call her like this:

Shishi_tkt * shishi_as_tkt(Shishi_as * as);

that's it. one argument, one pointer back. iconic behavior honestly. πŸ¦‹


🫢 ARGUMENTS 🫢

  • Shishi_as * as β€” the structure that holds all the info about the AS exchange. she's the little container of lore for the whole exchange, okay? you don't gotta build her here, you just pass her in. πŸ’œ

πŸ”₯ DESCRIPTION πŸ”₯

get the Ticket in the AS exchange. literally that's the whole job description. no cap.

like, she goes into the as structure and fetches you the ticket from the AS exchange. it's giving "personal assistant who already did the task and is just handing you the folder." πŸ“βœ¨


πŸ‘‘ RETURN VALUE πŸ‘‘

she returns the newly acquired tkt from the AS exchange. πŸŽ‰

BUT β€” and listen close bestie β€” she returns NULL if it's not yet set or if an error occured. so like, always check your pointer before you start using it, or you're gonna have a bad time. 😭 no shame, we've all dereferenced a NULL and cried about it. it's a rite of passage fr fr.

lowkey reminder: NULL here means "not ready yet" OR "something went wrong" β€” the function doesn't tell you which one on its own, so read the room (and the rest of your error handling). πŸ’€

πŸ’Œ REPORTING BUGS πŸ’Œ

found a bug? spill it to <bug-shishi@gnu.org> β€” they want the tea. πŸ›πŸ«–

GNU Shishi home page: http://www.gnu.org/software/shishi/

general help using GNU software: http://www.gnu.org/gethelp/


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. so like, go off, remix it, just keep the receipts. πŸ’–


🌈 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, this command

info shishi

should give you access to the complete manual. yes, it's literally info shishi, that's the whole spell. go read it, it's giving ✨ knowledge ✨.


and that's the page, bestie!! this little cutie came from shishi 1.0.3, and you can find her filed under shishi_as_tkt(3). now go check that return value before you touch it, ily, bye!! πŸ§šπŸ’œπŸŒΈ