TT_OBJID_OBJKEY(3)
π¦ tt_objid_objkey β library call π¦
π NAME π
okay so tt_objid_objkey β return the unique key of an objid. thatβs the whole name, bestie π
β¨ SYNOPSIS β¨
#include &<Tt/tt_c.h>
char *tt_objid_objkey(
const char *objid);
πΈ DESCRIPTION πΈ
The tt_objid_objkey function returns the unique key of an objid. literally what it says on the tin, no cap.
The objid argument is the identifier of the object involved in this operation. thatβs the whole vibe: you hand it the objectβs id, and it comes back with the key π
π₯ RETURN VALUE π₯
Upon successful completion, the tt_objid_objkey function returns the unique key of the objid. No two objids have the same unique key β periodt, thatβs the guarantee.
The application can use tt_ptr_error(3) to extract one of the following Tt_status values from the returned pointer:
TT_OKβ The operation completed successfully. slay βTT_ERR_OBJIDβ Theobjidpassed to the ToolTalk service does not reference an existing object spec. oop π
π«Ά APPLICATION USAGE π«Ά
The application should use tt_free(3) to free any data stored in the address returned by the ToolTalk API. bestie, clean up after yourself β the API is not your mom π
π SEE ALSO π
Tt/tt_c.h - Tttt_c(5),tt_ptr_error(3),tt_free(3)
okay thatβs the whole tt_objid_objkey page from the library call manual β signing off with main character footer energy, 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