TT_MESSAGE_SEND_ON_EXIT(3)
π tt_message_send_on_exit π
okay so bestie, this page is a library call manual, and it's giving βset up a message to send when your process ghosts the chatβ energy. π«Ά
β¨ NAME β¨
tt_message_send_on_exit β set up a message to send upon unexpected exit π
π¦ SYNOPSIS π¦
#include &<Tt/tt_c.h>
Tt_status tt_message_send_on_exit(
Tt_message m);
πΈ DESCRIPTION πΈ
okay so tt_message_send_on_exit is literally requesting that the ToolTalk service send this message if the process exits unexpectedly. π The message is sent to the ToolTalk service, which queues the message internally until either of two events occur:
- The procid that sent the
tt_message_send_on_exitmessage to the ToolTalk service callstt_close(3). In this case, the queued message is deleted. ποΈ - The connection between the
ttsession(1)server and the process that sent thett_message_send_on_exitmessage to the ToolTalk service is broken; for example, if the application has crashed. π
In this case, the ToolTalk service matches the queued message to its patterns and delivers it in the same manner as if the process had sent the message normally before exiting. slay. β¨
If a process sends a normal termination message but exits without calling tt_close(3), both the normal termination message and the on_exit message are delivered. both. at once. iconic. π
The m argument is the opaque handle for the message involved in this operation. π«Ά
π₯ RETURN VALUE π₯
Upon successful completion, the tt_message_send_on_exit function returns the status of the operation as one of the following Tt_status values:
TT_OKβ 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. πTT_ERR_NOMPβ Thettsession(1)process is not running and the ToolTalk service cannot restart it. πTT_ERR_OBJIDβ The objid passed to the ToolTalk service does not reference an existing object spec. π«
π SEE ALSO π
Tt/tt_c.h - Tttt_c(5), tt_close(3).
okay byeee bestie π this footer cutie is tt_message_send_on_exit(library call) β that's the footer text from the page, and there's no separate version/date line to spill, so we're not inventing one. 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