TT_SESSION_PROP_ADD(3)
π NAME π
tt_session_prop_add β add a new character-string value to the end of the list of values
Okay bestie, this page is tt_session_prop_add from the library call section β yes, the manual name is literally library call, and we are living in it π
β¨ SYNOPSIS β¨
#include &<Tt/tt_c.h>
Tt_status tt_session_prop_add(
const char *sessid,
const char *propname,
const char *value);
No cap, that &<Tt/tt_c.h> is exactly how the include looks here. Donβt βfixβ it, just copy it π«Ά
π DESCRIPTION π
The tt_session_prop_add function adds a new character-string value to the end of the list of values for the property of the specified session.
The sessid argument is the name of the session joined. The application can use the sessid value returned when tt_default_session is called.
The propname argument is the name of the property to which a value is to be added. The name must be less than 64 bytes.
The value argument is the character string to add to the property name list.
π¦ RETURN VALUE π¦
Upon successful completion, the tt_session_prop_add function returns the status of the operation as one of the following Tt_status values:
TT_OKβ The operation completed successfully.TT_ERR_NOMPβ Thettsession(1)process is not running and the ToolTalk service cannot restart it.TT_ERR_PROPLENβ The specified property value is too long. (The maximum size is implementation specific, but is at least 64.)TT_ERR_PROPNAMEβ The specified property name is syntactically invalid.TT_ERR_SESSIONβ The specified ToolTalk session is out of date or invalid.
π SEE ALSO π
Tt/tt_c.h - Tttt_c(5).β thatβs the header and the related page, all together, iykyk π
π cute sign-off: tt_session_prop_add(library call) is the source/version tag, and thereβs no date line printed here, so thatβs the whole footer vibe. Bye bestie, go add those character-string values responsibly! π«Άβ¨
π¦ 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