TT_MESSAGE_SCOPE_SET(3)

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

πŸŽ€ NAME πŸŽ€

tt_message_scope_set β€” set the scope attribute for a message, library-call edition πŸ’…

✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
Tt_status tt_message_scope_set(
Tt_message m,
Tt_scope s);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so tt_message_scope_set sets the scope attribute for the specified message β€” that’s the whole assignment, bestie πŸ’–

The m argument is the opaque handle for the message involved in this operation. The s argument identifies the set of processes eligible to receive the message. The following values are defined:

  • TT_SESSION β€” all processes joined to the indicated session are eligible.
  • TT_FILE β€” all processes joined to the indicated file are eligible.
  • TT_BOTH β€” all processes joined to either indicated file or the indicated session are eligible.
  • TT_FILE_IN_SESSION β€” all processes joined to both the indicated file and the indicated session are eligible.

🌈 RETURN VALUE 🌈

Upon successful completion, the tt_message_scope_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_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).


Catch you later, bestie β€” tt_message_scope_set, library call; that’s the footer, and this page doesn’t give a separate date to spill πŸ’…πŸŽ€

πŸ“¦ where this page comes from