TT_CONTEXT_QUIT(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– tt_context_quit β€” library-call era πŸ’–

okay so this page is tt_context_quit, and the manual name is library call β€” folding that in right here so we don't copy the header line like a boring NPC. Bestie, this one is short and sweet: it removes a string value from a list of values. Slay. πŸ’…

✨ NAME ✨

tt_context_quit β€” remove a string value from the list of values. That's it, that's the mission. πŸŽ€

🌸 SYNOPSIS 🌸

#include &<Tt/tt_c.h>
Tt_status tt_context_quit(
const char *slotname,
const char *value);

πŸ¦‹ DESCRIPTION πŸ¦‹

The tt_context_quit function removes the given string value from the list of values for the contexts of all patterns. Lowkey iconic behavior. ✨

The context is compared to currently registered patterns for the procid. If a pattern has a slot with the specified name, tt_context_quit removes the given string value from the list of values for that slot. And if there are duplicate values, only one value is removed β€” not all of them, bestie. πŸ™ˆ

Here are the arguments, with the page's exact wording kept intact:

  • slotname β€” the name of the context.
  • value β€” the value to be added. (Yes, β€œadded” is literally what the page says here; no cap, we're preserving it. πŸ’€)

πŸ”₯ RETURN VALUE πŸ”₯

Upon successful completion, tt_context_quit returns the status of the operation as one of the following Tt_status values:

  • TT_OK β€” The operation completed successfully. πŸŽ‰
  • TT_ERR_NOMP β€” The ttsession(1) process is not running and the ToolTalk service cannot restart it. 😭
  • TT_ERR_SLOTNAME β€” The specified slotname is syntactically invalid. 🚫

🌈 SEE ALSO 🌈

  • Tt/tt_c.h - Tttt_c(5). β€” go peek, iykyk. 🫢

πŸ’– that's the whole page, bestie! Source/version vibe: tt_context_quit in the library call section; the footer didn't print a date, so this cute sign-off is standing in. πŸŽ€βœ¨

πŸ“¦ where this page comes from