TT_SESSION_PROPNAMES_COUNT(3)

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

okay so this is the tt_session_propnames_count page from the library call manual, and it's lowkey a tiny little lookup function with main character energy πŸ’…βœ¨

✨ NAME ✨

tt_session_propnames_count β€” return the number of property names for the session πŸŽ€

✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
int tt_session_propnames_count(
const char *sessid);

✨ DESCRIPTION ✨

okay so the tt_session_propnames_count function returns the number of currently defined property names for the session. that's the whole vibe, bestie ✨

the sessid argument is the name of the session joined. your app can use the sessid value returned when tt_default_session is called. no cap 🫢

✨ RETURN VALUE ✨

upon successful completion, tt_session_propnames_count returns the number of property names for the session. periodt πŸ‘‘

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_SESSION β€” the specified ToolTalk session is out of date or invalid. πŸ’€

✨ SEE ALSO ✨


that's a wrap, bestie πŸŽ€ the footer on this page is literally just tt_session_...names_count(library call) again β€” no extra source/version/date tea to spill πŸ’œ

πŸ“¦ where this page comes from