TT_SPEC_TYPE_SET(3)
πΈ NAME πΈ
tt_spec_type_set β assign an object type value to an object spec.
Okay bestie, quick vibe check: this is a library call page β yes, the manual name is library call β and we're folding that header info right up here instead of copy-pasting the big duplicate top line. Slay. π
π SYNOPSIS π
#include &<Tt/tt_c.h>
Tt_status tt_spec_type_set(
const char *objid,
const char *otid);
β¨ DESCRIPTION β¨
The tt_spec_type_set function assigns an object type value to the object spec.
β οΈ The type must be set before the spec is written for the first time and cannot be set thereafter. No cap, set it early or it is literally not happening. π
The objid argument is the identifier of the object involved in this operation. The otid argument is the otype to be assigned to the spec.
π₯ RETURN VALUE π₯
Upon successful completion, the tt_spec_type_set function returns the status of the operation as one of the following Tt_status values:
TT_OKβ The operation completed successfully. πTT_ERR_DBAVAILβ The ToolTalk service could not access the ToolTalk database needed for this operation.TT_ERR_DBEXISTβ The ToolTalk service could not access the specified ToolTalk database in the expected place.TT_ERR_NOMPβ Thettsession(1)process is not running and the ToolTalk service cannot restart it.TT_ERR_OBJIDβ Theobjidpassed to the ToolTalk service does not reference an existing object spec.TT_ERR_READONLYβ The attribute the application is trying to change is not owned or writable by the current user.
π¦ SEE ALSO π¦
Go read: Tt/tt_c.h - Tttt_c(5), tt_spec_create(3), tt_spec_write(3).
Byeee π β source/version + date from the footer are getting a cute little shoutout right here at the very end, not a copy-paste, just a kiss. Mwah. πβ¨
π¦ 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