TTTK_MESSAGE_FAIL(3)

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

πŸ’– NAME πŸ’–

okay so this is a library call manual page, and the main character is tttk_message_fail β€” literally the β€œfail a message” function. yes bestie, the name is giving exactly what it does πŸ’…βœ¨


✨ SYNOPSIS ✨

#include &<Tt/tttk.h>
Tt_status tttk_message_fail(
Tt_message msg,
Tt_status status,
const char *status_string,
int destroy);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so tttk_message_fail does a little three-step slay: it sets the status and status string of the TT_REQUEST msg, then it fails msg, and then β€” if destroy is True β€” it destroys msg. periodt. πŸ’–πŸ”₯


🌸 RETURN VALUE 🌸

upon successful completion, tttk_message_fail returns the status of the operation as one of these 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_NOTHANDLER β€” this application is not the handler for this message. not your message, not your problem πŸ’…
  • TT_ERR_POINTER β€” the pointer passed does not point to an object of the correct type for this operation. rude, but okay πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

go read these next, iykyk:


xoxo, from the tttk_message_fail(library call) source/version β€” no date listed, so we’re calling it timeless πŸŽ€πŸ’œπŸ«Ά

πŸ“¦ where this page comes from