shishi_tkt_lastreqc(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_tkt_lastreqc(3) β€” the shishi manual, bestie edition ✨

okay so picture this: you're deep in the GNU Shishi manual, section 3, and you just need to know what shishi_tkt_lastreqc does. no worries, I got you 🫢 this is the one that pulls a C time out of a ticket's lastreq field, and honestly? iconic.


🌸 NAME 🌸

shishi_tkt_lastreqc β€” it's an API function, bestie. that's the whole vibe.


✨ SYNOPSIS ✨

#include <shishi.h>

time_t shishi_tkt_lastreqc(Shishi_tkt * tkt, Shishi_lrtype lrtype);

like. that's it. two args, one time_t, slay πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi_tkt * tkt β€” this is your input variable holding the ticket info. it's giving "the ticket in question" energy, yk?
  • Shishi_lrtype lrtype β€” the lastreq type you wanna extract, see Shishi_lrtype. for example: SHISHI_LRTYPE_LAST_REQUEST. yes girl, that one πŸ”₯

πŸ¦‹ DESCRIPTION πŸ¦‹

so what it does is extract the C time that corresponds to the given lastreq type field inside the ticket. that's the whole job. no cap, it's a little lookup goblin and it ate πŸ’–


⭐ RETURN VALUE ⭐

it returns the C time interpretation of the specified lastreq field. and if that doesn't work out? you get (time_t) -1. not me getting hit with the -1 😭 that's the sad path, bestie, plan accordingly.


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't be shy, report it to <bug-shishi@gnu.org>. also here's the GNU Shishi home page: http://www.gnu.org/software/shishi/ and if you need general help using GNU software: http://www.gnu.org/gethelp/ β€” they literally have a whole page for that, we love a support system 🫢


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. like, go off, remix it, just keep the receipts ✨


🌈 SEE ALSO 🌈

the full documentation for shishi is maintained as a Texinfo manual, periodt. if the info and shishi programs are properly installed at your site, this command

info shishi

should give you access to the complete manual. that's your main character moment right there πŸ’…


mwah πŸ’œ that was shishi_tkt_lastreqc(3) from the shishi manual, GNU Shishi version 1.0.3. go read your tickets, bestie, and stay hydrated πŸ“βœ¨