TT_OTYPE_OSIG_ARGS_COUNT(3)

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

πŸ’– tt_otype_osig_args_count πŸ’–

okay bestie, welcome to this library call page β€” yes, the manual name is library call, and the main character is tt_otype_osig_args_count. she's here to spill the tea on notice signature argument counts. no cap.

🌸 NAME 🌸

tt_otype_osig_args_count β€” returns the number of arguments of a notice signature of an otype. literally that's her whole job. πŸ’…

✨ SYNOPSIS ✨

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

πŸ’– DESCRIPTION πŸ’–

okay so the tt_otype_osig_args_count function returns the number of arguments of the sigth notice signature of the given otype. (yes bestie, count them args.)

the otype argument is the object type involved in this operation. the sig argument is the zero-based index into the notice signatures of the specified otype β€” zero-based means the first one is 0, iykyk. πŸŽ€

πŸ”₯ RETURN VALUE πŸ”₯

upon successful completion, the tt_otype_osig_args_count function returns the number of arguments of the sigth notice 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 πŸ¦‹


and that's the whole page, bestie β€” tt_otype_osig_args_count, library call edition, with no extra source/version/date line to copy. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from