TT_MESSAGE_ADDRESS(3)

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

πŸ’… tt_message_address

okay bestie, this is the library call manual page for tt_message_address β€” she's here to retrieve the address attribute from a message, and the way that's literally her whole job? iconic. ✨


✨ NAME ✨

tt_message_address β€” retrieve the address attribute from a message. no cap, that's the name section and she ate. πŸ’–

🌸 SYNOPSIS 🌸

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

πŸ’– DESCRIPTION πŸ’–

okay so tt_message_address retrieves the address attribute from the specified message. main character function behavior, honestly. 🫢

The m argument is the opaque handle for the message involved in this operation. it's giving β€œdon't peek inside, just pass the handle” energy, iykyk.

πŸŽ€ RETURN VALUE πŸŽ€

Upon successful completion, tt_message_address returns a value that specifies which message attributes form the address of this message. lowkey crucial info. The function returns one of these Tt_address values:

  • TT_HANDLER β€” the message is addressed to a specific handler that can perform this operation with these arguments. πŸ’…
  • TT_OBJECT β€” the message is addressed to a specific object that can perform this operation with these arguments. πŸŽ€
  • TT_OTYPE β€” the message is addressed to the type of object that can perform this operation with these arguments. πŸ¦‹
  • TT_PROCEDURE β€” the message is addressed to any process that can perform this operation with these arguments. ⭐

The application can use tt_int_error(3) to extract one of the following Tt_status values from the returned integer:

  • 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 πŸ¦‹

Tt/tt_c.h - Tttt_c(5), tt_int_error(3).

and that's the whole tt_message_address(library call) page, bestie β€” the footer's source/version tag is this tt_message_address(library call) page, and the original didn't list a date, so no fake date from me. mwah πŸ’‹

πŸ“¦ where this page comes from