TT_MESSAGE_DISPOSITION(3)
π tt_message_disposition (library call) π
hey bestie π«Ά welcome to the page for tt_message_disposition(library call) β yes, it's a library call, and yes, we're retrieving the disposition attribute from a message. lowkey iconic. π
β¨ NAME β¨
tt_message_disposition β retrieve the disposition attribute from a message. that's the whole vibe, no cap.
πΈ SYNOPSIS πΈ
copy this exactly, bestie β i'm not touching the punctuation β¨
#include &<Tt/tt_c.h>
Tt_disposition tt_message_disposition(
Tt_message m);
π DESCRIPTION π
okay so the tt_message_disposition function retrieves the disposition attribute from the specified message. it's literally right there in the name.
The m argument is the opaque handle for the message involved in this operation. opaque handle means no peeking behind the curtain, bestie π«Ά
π RETURN VALUE π
Upon successful completion, the tt_message_disposition function returns a value that indicates whether an instance of the receiving process should 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. okay so it's a start-now-or-wait-later vibe check. The tt_message_disposition function returns one of the following Tt_disposition values:
TT_DISCARDβ There is no receiver for this message. The message will be returned to the sender with theTt_statusfield containingTT_FAILED. no receiver, no cap.TT_QUEUEβ Queue the message until a process of the proper ptype receives the message. wait for it...TT_STARTβ Attempt to start a process of the proper ptype if none is running. start it up, bestie.TT_QUEUE+TT_STARTβ Queue the message and attempt to start a process of the proper ptype if none is running. both? both. iconic.
The application can use tt_int_error(3) to extract one of the following Tt_status values from the Tt_disposition integer: iykyk.
TT_OKβ The operation completed successfully. slay.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. wrong vibe, wrong type.
π¦ SEE ALSO π¦
the receipts:
Tt/tt_c.h - Tttt_c(5), tt_int_error(3).
mwah π β signing off from the tt_message_disposition(library call) page. source/version/date: not listed in the original footer, bestie β so i'm not making one up. π«Άβ¨
π¦ 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