TT_PATTERN_CONTEXT_ADD(3)
π NAME π
okay so bestie, this page is tt_pattern_context_add β and yep, it's from the library call manual section. Its whole job? add a string value to the values of this pattern's context. That's it. iconic. π
β¨ SYNOPSIS β¨
#include &<Tt/tt_c.h>
Tt_status tt_pattern_context_add(
Tt_pattern p,
const char *slotname,
const char *value);
π¦ DESCRIPTION π¦
The tt_pattern_context_add function adds a string value to the values of this pattern's context. no cap. π
If the value pointer is NULL, a slot is created with the specified name but no value is added β so the slot is literally just sitting there, empty, and that's by design. π«Ά
pβ the opaque handle for the pattern involved in this operation. main-character handle energy. πslotnameβ describes the context of this pattern. πvalueβ the value to be added. π
π₯ RETURN VALUE π₯
Upon successful completion, the tt_pattern_context_add function returns the status of the operation as one of the following Tt_status values:
TT_OKβ The operation completed successfully. βTT_ERR_UNIMPβ The ToolTalk function called is not implemented. πTT_ERR_NOMPβ Thettsession(1)process is not running and the ToolTalk service cannot restart it. πTT_ERR_POINTERβ The pointer passed does not point to an object of the correct type for this operation. πTT_ERR_SLOTNAMEβ The specifiedslotnameis syntactically invalid. π«
π SEE ALSO π
Go peek at: Tt/tt_c.h - Tttt_c(5). πβ¨
source/version + date check, bestie: the footer is just tt_pattern_context_add(library call) β no separate date stamped on this one, so I'm not inventing one. kisses! π«Άπ
π¦ 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