TT_MESSAGE_BCONTEXT_SET(3)
π tt_message_bcontext_set β library call π
okay bestie, this is the library call manual page for setting a message contextβs byte-array value, and weβre gonna get through it together. β¨
πΈ NAME πΈ
tt_message_bcontext_set β set the byte-array value of a messageβs context.
π SYNOPSIS π
#include &<Tt/tt_c.h>
Tt_status tt_message_bcontext_set(
Tt_message m,
const char *slotname,
const unsigned char *value,
int length);
π DESCRIPTION π
The tt_message_bcontext_set function sets the byte-array value of a messageβs context.
It literally overwrites any previous value associated with slotname β like, old value? gone, bestie. periodt.
mβ the opaque handle for the message involved in this operation.slotnameβ describes the slotname in this message.valueβ the byte string with the contents for the message argument.lengthβ the length of thevaluein bytes.
π₯ RETURN VALUE π₯
Upon successful completion, tt_message_bcontext_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).
xoxo π thatβs the whole page. The footer on this one is tt_message_bcontext_set(library call) β so the source/version tag is library call, and thereβs no date line, just vibes and a manual name. π
π¦ 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