TT_OBJID_OBJKEY(3)

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

πŸ¦‹ 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 β€” The objid passed 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 πŸ‘‘

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