TT_MESSAGE_STATUS_SET(3)
β¨ tt_message_status_set β¨
okay bestie, welcome to this library call page β the manual name is literally βlibrary call,β and the function is tt_message_status_set. Itβs giving βone job, done cuteβ: set the status attribute on a message. π
πΈ NAME πΈ
tt_message_status_set β set the status attribute for a message. periodt. π
π¦ SYNOPSIS π¦
#include &<Tt/tt_c.h>
Tt_status tt_message_status_set(
Tt_message m,
int status);
Copy that exactly, character for character β including the & in the include line, bestie π€β¨
π DESCRIPTION π
So tt_message_status_set does exactly what it says on the tin: it sets the status attribute for the specified message. main character behavior, honestly.
The m argument is the opaque handle for the message involved in this operation β thatβs your little ticket to the message youβre touching. The status argument is the status to be stored in this message. no cap. π«Ά
π RETURN VALUE π
Upon successful completion, tt_message_status_set returns the status of the operation as one of these 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. π thatβs the bad-vibe case.TT_ERR_POINTERβ The pointer passed does not point to an object of the correct type for this operation. π pointer vibe check failed.
bestie, important: thestatusvalue must be greater thanTT_ERR_LASTto avoid confusion with the ToolTalk service status values. Thatβs not a suggestion, okay? donβt skip it. π¨
π₯ SEE ALSO π₯
Tt/tt_c.h-Tttt_c(5).
yes, Tttt_c(5) is exactly what the page says β iykyk, donβt come for me π
mwah π β source/version: tt_message_status_set(library call); date: the footerβs date (not repeated here, bestie, because cute sign-off > copy-paste, fr fr) π«Άβ¨
π¦ 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