TT_MESSAGE_ID(3)
π tt_message_id π
okay bestie, welcome to the tt_message_id page β itβs a library call manpage, and itβs literally about grabbing a messageβs identifier. no cap. π«Άβ¨
β¨ NAME β¨
tt_message_id β retrieve the identifier of a message π
π SYNOPSIS π
#include &<Tt/tt_c.h>
char *tt_message_id(
Tt_message m);
πΈ DESCRIPTION πΈ
okay so the tt_message_id function retrieves the identifier of the specified message. thatβs the whole assignment, and it ate. π
the m argument is the opaque handle for the message involved in this operation. yes, opaque β donβt peek behind the curtain, just pass the handle. π«Ά
π RETURN VALUE π
upon successful completion, the tt_message_id function returns the character string value that uniquely identifies the message across all running ToolTalk sessions. iconic behavior. π
the identifier of the message is set at its creation and never changes. periodt. β
the application can use tt_ptr_error(3) to extract one of the following Tt_status values from the returned pointer:
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 rough, bestie.TT_ERR_POINTERβ the pointer passed does not point to an object of the correct type for this operation. π wrong vibe, wrong pointer.
π¦ APPLICATION USAGE π¦
the application should use tt_free(3) to free any data stored in the address returned by the ToolTalk API. yes bestie, free it β donβt just leave it there looking cute. π
π₯ SEE ALSO π₯
Tt/tt_c.h - Tttt_c(5), tt_ptr_error(3), tt_free(3).
cute sign-off: source/version vibes are tt_message_id in the library call section, and the original page didnβt list a date β so no date tea to spill, sorry 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