TT_MESSAGE_CREATE_SUPER(3)

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

πŸ’… tt_message_create_super πŸ’…

okay bestie, this is the library call manual page for tt_message_create_super β€” and yes, the name is a whole mouthful, but we move. ✨

πŸŽ€ NAME πŸŽ€

tt_message_create_super β€” create and re-address a copy of a message. periodt.

🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

so real talk, tt_message_create_super creates a copy of the specified message and re-addresses the copy of the message to the parent of the otype contained within the message. no cap, that's the whole assignment. πŸ’«

the m argument is the opaque handle for the message involved in this operation.

πŸ‘‘ RETURN VALUE πŸ‘‘

upon successful completion, tt_message_create_super returns the opaque unique handle for the re-addressed message. the application can use tt_ptr_error(3) to extract one of the following Tt_status values from the returned handle:

  • TT_OK β€” the operation completed successfully. slay.
  • TT_ERR_ADDRESS β€” the specified Tt_address is invalid.
  • TT_ERR_NOMP β€” the ttsession(1) process is not running and the ToolTalk service cannot restart it.
  • TT_ERR_OBJID β€” the objid passed to the ToolTalk service does not reference an existing object spec.
  • 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.

🧚 APPLICATION USAGE 🧚

the otype of the message m can be determined using the tt_message_otype(3) function. iykyk.

🌈 SEE ALSO 🌈


and that's the page, bestie β€” cute sign-off time: the footer has no separate source/version or date line, it's just the library call title/manual name again, so we're closing the group chat with that exact energy. πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from