shishi_tkts_remove(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_tkts_remove ✨ β€” the shishi manual, bestie edition πŸŽ€

okay so picture this: you've got a whole little squad of tickets, and one of them has GOT to go. that's this function. it's an API function from the shishi manual pages and honestly? it's giving bouncer-at-the-club energy. πŸ’…


🌸 SYNOPSIS 🌸

#include <shishi.h>

int shishi_tkts_remove(Shishi_tkts * tkts, int ticketno);

πŸ’– ARGUMENTS πŸ’–

  • Shishi_tkts * tkts β€” your ticket set handle, the one you got handed back when you called shishi_tkts(). it's the group chat. 🫢
  • int ticketno β€” the ticket number of the ticket in the set you wanna yeet. and listen, indexing starts at zero, so the first ticket is ticket number 0. no cap. πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Remove a ticket, indexed by ticketno, in ticket set. that's it, that's the whole vibe. one ticket, one index, gone. ✨


⭐ RETURN VALUE ⭐

SHISHI_OK β€” and it comes back SHISHI_OK if it worked, OR if ticketno is larger than the size of the ticket set. yep, you read that right, oversized index still gets you a happy little SHISHI_OK. 😭 slay, i guess.


πŸ’€ REPORTING BUGS πŸ’€

found a bug? do NOT suffer in silence, bestie. report bugs to <bug-shishi@gnu.org>.


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.


🌈 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. go read it, it's iconic. πŸ“š


and that's the whole page, babe πŸ’– this was shishi_tkts_remove(3) out of the shishi manual, version 1.0.3, brought to you by the lovely folks at GNU Shishi. mwah, stay hydrated, and may all your ticket indices be valid. πŸ§šβ€β™€οΈπŸŒΈπŸ«Ά