TT_MESSAGE_STATUS(3)

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

🌸 NAME 🌸

okay so bestie, this is the tt_message_status(library call) manual page β€” and it does exactly one very specific thing: retrieve the status attribute from a message. that’s the whole vibe. ✨

✨ SYNOPSIS ✨

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

πŸ’… DESCRIPTION πŸ’…

The tt_message_status function retrieves the status attribute from the specified message. like, you pass it a message, and it gives you the status that’s stored in there. iconic. πŸ’–

The m argument is the opaque handle for the message involved in this operation. no peeking inside, bestie β€” just pass the handle. 🫢

πŸ‘‘ RETURN VALUE πŸ‘‘

Upon successful completion, the tt_message_status function returns an integer that describes the status stored in the status attribute of this message. 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 πŸ¦‹


πŸ’– that’s the whole page, bestie! source/version/manual tag: tt_message_status(library call) β€” and the original didn’t give a date, so no fake date energy here. πŸŽ€

πŸ“¦ where this page comes from