TT_OBJID_EQUAL(3)
β¨ NAME β¨
okay bestie, welcome to the tt_objid_equal library call page π tt_objid_equal β test whether two objids are equal. That's the whole assignment, periodt. π
π SYNOPSIS π
#include &<Tt/tt_c.h>
int tt_objid_equal(
const char *objid1,
const char *objid2);
π DESCRIPTION π
okay so the tt_objid_equal function tests whether two objids are equal β literally its whole job, and it ate. β¨
bestie, use tt_objid_equal(3) instead of strcmp(3) for this, and that's not just a vibe: the tt_objid_equal(3) function is recommended because it returns 1 even in the case where one objid is a forwarding pointer for the other. iconic. π
The objid1 argument is the identifier of the first object involved in this operation. The objid2 argument is the identifier of the second object involved in this operation. no notes. π«Ά
πΈ RETURN VALUE πΈ
Upon successful completion, the tt_objid_equal function returns an integer that indicates whether the objids are equal. The application can use tt_int_error(3) to extract one of the following Tt_status values from the returned integer:
0β theobjid1andobjid2objects are not equal.1β theobjid1andobjid2objects are equal.
The application can use tt_int_error(3) to determine if the integer is valid. The tt_objid_equal function returns 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_OBJIDβ the objid passed to the ToolTalk service does not reference an existing object spec.
π¦ SEE ALSO π¦
Tt/tt_c.h - Tttt_c(5), tt_int_error(3).
bye from the tt_objid_equal page, bestie π«Ά β the footer only says library call for the source/version bit, and there's no date listed, so I'm not inventing one; this is the cute sign-off instead πβ¨
π¦ 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