TT_SESSION_PROP_COUNT(3)

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

✨ NAME ✨

okay so bestie, this is tt_session_prop_count from the library call man pages πŸ’… β€” her whole job is to return the number of values stored under a property of a session. no cap, that's the vibe.

🌸 SYNOPSIS 🌸

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

πŸŽ€ DESCRIPTION πŸŽ€

The tt_session_prop_count function returns the number of values stored under the named property of the specified session. lowkey that's the entire plot, and she ate.

The sessid argument is the name of the session joined. Your app can use the sessid value returned when tt_default_session is called. The propname argument is the name of the property to be examined. iykyk.

πŸ”₯ RETURN VALUE πŸ”₯

Upon successful completion, tt_session_prop_count returns the number of values in the specified property list. Your app 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_PROPNAME β€” The specified property name is syntactically invalid. not iconic.
  • TT_ERR_SESSION β€” The specified ToolTalk session is out of date or invalid. πŸ’€

🌈 SEE ALSO 🌈

Tt/tt_c.h - Tttt_c(5), tt_int_error(3). go read those bestie 🫢

xoxo, tt_session_prop_count πŸ’– β€” source/version: library call (that's all the footer gives us); date: not listed in the footer. byeee πŸ‘‘

πŸ“¦ where this page comes from