TT_CONTEXT_QUIT(3)
π 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β Thettsession(1)process is not running and the ToolTalk service cannot restart it. πTT_ERR_SLOTNAMEβ The specifiedslotnameis 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
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms