TT_OTYPE_HSIG_ARGS_COUNT(3)

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

πŸ’– tt_otype_hsig_args_count β€” library call πŸ’–

okay so bestie, this is the library call page for tt_otype_hsig_args_count. She’s literally here to return the number of arguments of a request signature of an otype β€” no cap. ✨

🌸 NAME 🌸

tt_otype_hsig_args_count β€” return the number of arguments of a request signature of an otype.

✨ SYNOPSIS ✨

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

πŸ¦‹ DESCRIPTION πŸ¦‹

The tt_otype_hsig_args_count function returns the number of arguments of the sigth request signature of the given otype. It’s giving β€œsignature detective,” and honestly? iconic. πŸ’…

The otype argument is the object type involved in this operation. The sig argument is the zero-based index into the request signatures of the specified otype. Zero-based, bestie β€” iykyk. πŸŽ€

πŸŽ€ RETURN VALUE πŸŽ€

Upon successful completion, tt_otype_hsig_args_count returns the number of arguments of the sigth request signature of the given otype. 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_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 πŸ”₯


okay that’s the whole page, bestie 🫢 β€” footer source/version/date check: the source label is library call for tt_otype_hsig_args_count, and no separate version or date is shown, so that’s the cute sign-off. πŸ’–βœ¨

πŸ“¦ where this page comes from