TT_MESSAGE_CLASS_SET(3)

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

πŸ’– NAME

okay so this page is literally about tt_message_class_set β€” the function that sets the class attribute for a message β€” and it's a library call manual page. Bestie, we're starting with the name because that's the vibe. 🫢

✨ SYNOPSIS

#include &<Tt/tt_c.h>
Tt_status tt_message_class_set(
Tt_message m,
Tt_class c);

πŸŽ€ DESCRIPTION

The tt_message_class_set function sets the class attribute for the specified message. That's the whole glow-up. ✨

The m argument is the opaque handle for the message involved in this operation. The c argument indicates whether an action is to take place after the message is received.

These values are defined, and yes you need to know them:

  • TT_NOTICE β€” a notice of an event; the sender does not want feedback on this message. πŸ™ˆ
  • TT_REQUEST β€” a request for some action to be taken; the sender must be notified of progress, success or failure, and must receive any return values. πŸ”₯

🌸 RETURN VALUE

Upon successful completion, tt_message_class_set 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. πŸ’€

πŸ¦‹ SEE ALSO


That's the whole tiny page, bestie β€” filed under the library call manual with no version/date stamped in the footer, so consider this your cute sign-off: mwah πŸ’–πŸ’…

πŸ“¦ where this page comes from