TTTK_MESSAGE_DESTROY(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– NAME πŸ’–

okay so this page is about tttk_message_destroy β€” it's a library call, bestie, and its whole job is to destroy a message conforming to the XCDE conventions. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

#include &<Tt/tttk.h>
Tt_status tttk_message_destroy(
Tt_message msg);

✨ DESCRIPTION ✨

So like, tttk_message_destroy can be used in place of tt_message_destroy(3). First it destroys any patterns that may have been stored on msg by ttdt_message_accept(3) or ttdt_subcontract_manage(3). Then it passes msg to tt_message_destroy(3). no cap, that's the whole flow. 🫢

🌸 RETURN VALUE 🌸

Upon successful completion, tttk_message_destroy returns the status of the operation as one of the following Tt_status values:

  • TT_OK β€” the operation completed successfully. slay. βœ…
  • TT_ERR_NOMP β€” the ttsession(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. πŸ™ˆ
  • TT_WRN_STOPPED β€” the message is not actually destroyed. (A message is not destroyed if it is in a non-final state; for example, a request for which the reply has not been received.) 🚨

πŸŽ€ SEE ALSO πŸŽ€


xoxo, bestie πŸ’– β€” signing off from tttk_message_destroy(library call). That's the footer this page ends on; no extra source/version/date line is included. ✨

πŸ“¦ where this page comes from