TT_MESSAGE_REJECT(3)

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

πŸŽ€ NAME πŸŽ€

tt_message_reject β€” reject a message

okay so this icon is from the library call manual, and it's literally the function you hit when your process is like β€œbestie, I cannot handle this one” πŸ’…


✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
Tt_status tt_message_reject(
Tt_message m);

πŸ¦‹ DESCRIPTION πŸ¦‹

tt_message_reject informs the ToolTalk service that the process cannot handle this message. No hard feelings, no cap β€” the ToolTalk service will attempt to deliver the message to other handlers, so the message still gets its moment elsewhere ✨

The m argument is the opaque handle for the message involved in this operation. Keep it close, bestie 🫢


🌈 RETURN VALUE 🌈

Upon successful completion, tt_message_reject 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. Big yikes 😭
  • TT_ERR_NOTHANDLER β€” This application is not the handler for this message. It's giving β€œyou're not the main character for this one” πŸ™ˆ
  • TT_ERR_POINTER β€” The pointer passed does not point to an object of the correct type for this operation. Vibe check failed, pointer edition πŸ’€

πŸ’– SEE ALSO πŸ’–


πŸ’Œ cute little sign-off: that's tt_message_reject, footer energy and all β€” library call section, with no extra version or date listed, so we're keeping it exactly that vibe. bye bestie 🫢✨

πŸ“¦ where this page comes from