TT_SESSION_PROP_SET(3)
πΈ NAME πΈ
okay so this is tt_session_prop_set, and the manual name is library call β she replaces current values for a property of a session with a character-string value. periodt π
β¨ SYNOPSIS β¨
#include &<Tt/tt_c.h>
Tt_status tt_session_prop_set(
const char *sessid,
const char *propname,
const char *value);
π DESCRIPTION π
bestie, the way that tt_session_prop_set works is genuinely so clean: it replaces all current values stored under the named property of the specified session with the given character-string value. like, the whole property list under that name gets the new value. no cap. β¨
sessidβ the name of the session joined. the application can use thesessidvalue returned whentt_default_sessionis called. π«Άpropnameβ the name of the property to be examined. iykyk.valueβ the new value to be inserted. and yeah,NULLremoves a value from the property list. iconic behavior honestly π
π«Ά RETURN VALUE π«Ά
when it finishes successfully, tt_session_prop_set returns the status of the operation as one of these Tt_status values β vibe check, but make it C:
TT_OKβ the operation completed successfully. slay πTT_ERR_NOMPβ thettsession(1)process is not running and the ToolTalk service cannot restart it. that's the βno main processβ moment, bestie πTT_ERR_PROPLENβ the specified property value is too long. (the maximum size is implementation specific, but is at least 64.) not me showing up with an oversized value πTT_ERR_PROPNAMEβ the specified property name is syntactically invalid. she said βwrong name, wrong energyβ πTT_ERR_SESSIONβ the specified ToolTalk session is out of date or invalid. expired session, expired vibe, we move on π
π¦ SEE ALSO π¦
Tt/tt_c.h-Tttt_c(5).
okay bye bestie π this page signs off as a library call manual page β the footer doesn't stamp an extra version or date on it, so we're just gonna leave it at that and exit stage left π§ β¨
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms