TT_MESSAGE_DESTROY(3)
π tt_message_destroy β destroy a message π
okay so bestie, this is the library call page for tt_message_destroy, and itβs giving βclean up this message handleβ energy. No cap. π
β¨ NAME β¨
tt_message_destroyβ destroy a message.
π οΈ SYNOPSIS π οΈ
#include &<Tt/tt_c.h>
Tt_status tt_message_destroy(
Tt_message m);
π DESCRIPTION π
So the tt_message_destroy function destroys the message. Thatβs the whole assignment, periodt. π«Ά
Destroying a message has no effect on the delivery of a message already sent. That part is literally untouched, bestie. β¨
The m argument is the opaque handle for the message involved in this operation. Opaque handle means you donβt peek inside, you just pass it along. π
π₯ RETURN VALUE π₯
Upon successful completion, tt_message_destroy 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. πTT_ERR_POINTERβ The pointer passed does not point to an object of the correct type for this operation. π©
π«Ά APPLICATION USAGE π«Ά
If the application sent a request and is expecting a reply with return values, the application should destroy the message after it has received the reply. Timing matters, bestie. β³
If the application sends a notice, the application can destroy the message immediately after it sends the notice. Different vibe, different cleanup window. π
π SEE ALSO π
Tt/tt_c.h - Tttt_c(5), tt_message_create(3), tt_message_create_super(3).
Thatβs the whole page, bestie π«Ά source/version: tt_message_destroy(library call); date: not present in this footer. π
π¦ 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