TT_OTYPE_HSIG_ARG_MODE(3)

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

✨ NAME ✨

tt_otype_hsig_arg_mode β€” okay bestie, this one returns the mode of an argument of a request signature of an otype. That’s the whole name-section vibe πŸ’–

🌸 SYNOPSIS 🌸

#include &<Tt/tt_c.h>
Tt_mode tt_otype_hsig_arg_mode(
       const char *otype,
       int sig,
       int arg);

πŸ’… DESCRIPTION πŸ’…

So like, tt_otype_hsig_arg_mode returns the mode of the argth argument of the sigth request signature of the given otype. Periodt.

Here are the deets, bestie:

  • otype is the object type involved in this operation.
  • sig is the zero-based index into the request signatures of the specified otype.
  • arg is the zero-based index into the arguments of the specified signature.

πŸ”₯ RETURN VALUE πŸ”₯

Upon successful completion, tt_otype_hsig_arg_mode returns a value that determines who β€” sender or handler β€” writes and reads a message argument. The following modes are defined:

  • TT_IN β€” the argument is written by the sender and read by the handler and any observers. πŸ‘€
  • TT_OUT β€” the argument is written by the handler and read by the sender and any reply observers. πŸ’Œ
  • TT_INOUT β€” the argument is written by the sender and the handler and read by all. 🌈

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

  • TT_OK β€” the operation completed successfully. βœ…
  • TT_ERR_NOMP β€” the ttsession(1) process is not running and the ToolTalk service cannot restart it. 😭
  • TT_ERR_NUM β€” the integer value passed was invalid (out of range). πŸ’€
  • TT_ERR_OTYPE β€” the specified object type is not the name of an installed object type. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹


And that’s the cute little sign-off, bestie: this is the tt_otype_hsig_arg_mode library call page, and the footer only carries that same library call tag β€” no extra version or date line on this one β€” so take this sparkly bow on top πŸŽ€πŸ’–

πŸ“¦ where this page comes from