TT_MESSAGE_SEND(3)
๐ NAME ๐
tt_message_send โ send a message. that's it. that's the whole job. she sends. ๐
okay so real quick, bestie: this page lives in the library call section of the manual (yes, the same one you keep ending up in at 2am). keep that in mind, it's part of the whole vibe โจ
โจ SYNOPSIS โจ
#include <Tt/tt_c.h>
Tt_status tt_message_send(
Tt_message m);
๐ฆ DESCRIPTION ๐ฆ
The tt_message_send function sends the specified message. that's the tea. you give her a message, she ships it. iconic behavior honestly ๐ซถ
The m argument is the opaque handle for the message involved in this operation. and yes, opaque means you don't get to peek inside โ it's giving mysterious main character energy, don't fight it ๐
๐ธ RETURN VALUE ๐ธ
okay so upon successful completion (and also upon not-so-successful completion, no judgment), the tt_message_send function returns the status of the operation as one of the following Tt_status values. vibe check time, one bullet each, no skipping ๐
TT_OKโ slay! the operation completed successfully ๐TT_ERR_ADDRESSโ the specifiedTt_addressis invalid ๐ญTT_ERR_CLASSโ the specifiedTt_classis invalid ๐ญTT_ERR_FILEโ the specified file does not exist or it is inaccessible. not found, not vibing, not today ๐TT_ERR_NOMPโ thettsession(1)process is not running and the ToolTalk service cannot restart it. the session ghosted you fr fr ๐ซTT_ERR_OBJIDโ the objid passed to the ToolTalk service does not reference an existing object spec ๐TT_ERR_OTYPEโ the specified object type is not the name of an installed object type ๐TT_ERR_OVERFLOWโ the ToolTalk service has more active messages than it can handle. (the maximum number of active messages is implementation specific, but is at least 2000.) bestie is overwhelmed, she's at capacity, please give her a minute ๐ฎโ๐จTT_ERR_POINTERโ the pointer passed does not point to an object of the correct type for this operation. wrong type, wrong era, wrong everything ๐TT_ERR_PROCIDโ the specified process identifier is out of date or invalid ๐งTT_ERR_SESSIONโ the specified ToolTalk session is out of date or invalid ๐TT_WRN_STALE_OBJIDโ the object attribute in the message has been replaced with a newer one. it's not an error bestie, it's just a warning โ the old one got a glow-up โจ
heads up: a whole bunch of these are straight-up "nope, invalid, try again" energy. don't take it personally, she's just being honest ๐
๐ฅ SEE ALSO ๐ฅ
Tt/tt_c.h-Tttt_c(5).
kisses, this was tt_message_send straight out of the library call section ๐โจ 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