TT_MESSAGE_DISPOSITION_SET(3)
okay so bestie, welcome to tt_message_disposition_set from the tt_message_...osition_set(library call) manual β yes, the header/footer vibes are truncated and we are respecting the lore. π
β¨
πΈ NAME πΈ
tt_message_disposition_set β set the disposition attribute for a message. Periodt. π
π¦ SYNOPSIS π¦
#include &<Tt/tt_c.h>
Tt_status tt_message_disposition_set(
Tt_message m,
Tt_disposition r);
β¨ DESCRIPTION β¨
The tt_message_disposition_set function sets the disposition attribute for the specified message. No cap, thatβs the whole mission. π«Ά
The m argument is the opaque handle for the message involved in this operation. Slay, but opaque means youβre not peeking inside. π
The r argument indicates whether an instance of the receiving process is to be started to receive the message immediately, or whether the message is to be queued until the receiving process is started at a later time. Itβs giving βnow or laterβ main character energy. β³
The following values are defined:
TT_DISCARDβ There is no receiver for this message. The message will be returned to the sender with theTt_statusfield containingTT_FAILED. Lowkey a sad return-to-sender moment. πTT_QUEUEβ Queue the message until a process of the proper ptype receives the message. Patient queen behavior. πTT_STARTβ Attempt to start a process of the proper ptype if none is running. Go go go! π₯TT_QUEUE+TT_STARTβ Queue the message and attempt to start a process of the proper ptype if none is running. Both? Both. π
π RETURN VALUE π
Upon successful completion, the tt_message_disposition_set function returns the status of the operation as one of the following Tt_status values:
TT_OKβ The operation completed successfully. We love a win. πTT_ERR_NOMPβ Thettsession(1)process is not running and the ToolTalk service cannot restart it. Big yikes. πTT_ERR_POINTERβ The pointer passed does not point to an object of the correct type for this operation. Not the vibe check passing. π
π SEE ALSO π
Tt/tt_c.h - Tttt_c(5). β yes, exactly that, bestie. Go read the related lore. πβ¨
Cute sign-off, fr fr: the footer in the original is the same truncated title/manual-call situation, tt_message_...osition_set(library call), and thereβs no separate source/version/date text shown β so thatβs the whole footer tea. Byeee, bestie! ππ«Ά
π¦ 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