TT_MESSAGE_ICONTEXT_SET(3)
β¨ tt_message_icontext_set β a library call moment, bestie β¨
πΈ NAME πΈ
tt_message_icontext_setβ set the integer value of a message's context. That's the assignment, and it ate. π
π¦ SYNOPSIS π¦
okay so here's the exact spell, no cap:
#include &<Tt/tt_c.h>
Tt_status tt_message_icontext_set(
Tt_message m,
const char *slotname,
int value);
π DESCRIPTION π
The tt_message_icontext_set function sets the integer value of a message's context. Literally that. Iconic behavior. β¨
π¨ bestie, heads up: this function overwrites any previous value associated with slotname. So if something was already living there, it's getting replaced. No cap. π
Here's the cast:
mβ the opaque handle for the message involved in this operation. Main character energy. πslotnameβ describes the context of this message. It's giving βwhich slot are we talking about?β πvalueβ the integer value to be set. The number. The whole point. π₯
π₯ RETURN VALUE π₯
Upon successful completion, tt_message_icontext_set returns the status of the operation as one of the following Tt_status values:
TT_OKβ the operation completed successfully. slay. β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 π
Tt/tt_c.h-Tttt_c(5). β the header and the cross-reference, together forever. π«Ά
Signed off from the footer: tt_message_icontext_set, a library call page β no extra version/date line in this one, bestie, just pure sparkle. Periodt. πβ¨
π¦ 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