TT_MESSAGE_SESSION_SET(3)

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

✨ NAME ✨

okay bestie, welcome to tt_message_session_set β€” this is the library call manual page, and it's all about setting the session attribute for a message. iconic behavior only πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

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

🌸 DESCRIPTION 🌸

The tt_message_session_set function sets the session attribute for the specified message. That's the whole mission, no cap.

  • The m argument is the opaque handle for the message involved in this operation. It's opaque, bestie β€” we don't peek inside πŸ’€
  • The sessid argument is the identifier of the session in which the process is interested. That's the session tea right there πŸ«–βœ¨

πŸ’… RETURN VALUE πŸ’…

Upon successful completion, the tt_message_session_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. oof, that's rough. 😭
  • TT_ERR_POINTER β€” The pointer passed does not point to an object of the correct type for this operation. vibe check failed on the pointer, ngl.

πŸŽ€ SEE ALSO πŸŽ€


that's the whole page, bestie 🫢 this footer is the tt_message_session_set library call source/version tag, and there's no date printed down here β€” so I'm not inventing one, periodt πŸŒˆπŸŽ€

πŸ“¦ where this page comes from