TT_MESSAGE_OTYPE_SET(3)

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

πŸ’– NAME πŸ’–

okay so this is the tt_message_otype_set page from the library call manual β€” literally the function that sets the object type (otype) attribute for a message ✨


🌸 SYNOPSIS 🌸

#include &<Tt/tt_c.h>
Tt_status tt_message_otype_set(
Tt_message m,
const char *otype);

πŸ¦‹ DESCRIPTION πŸ¦‹

The tt_message_otype_set function sets the object type (otype) attribute for the specified message. periodt.

  • m β€” the opaque handle for the message involved in this operation. 🫢
  • otype β€” the type of the object involved in this message. πŸŽ€

πŸ”₯ RETURN VALUE πŸ”₯

Upon successful completion, the tt_message_otype_set function 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_OTYPE β€” the specified object type is not the name of an installed object type. πŸ’€
  • TT_ERR_POINTER β€” the pointer passed does not point to an object of the correct type for this operation. πŸ™ˆ

🌈 SEE ALSO 🌈


mwah πŸ’‹ β€” this has been the tt_message_otype_set page from the library call manual, signing off! πŸŽ€πŸ’…

πŸ“¦ where this page comes from