![]() |
![]() |
![]() |
![]() |
OMequals_objs
Synopsis
int OMequal_objs (OMobj_id object1_id, OMobj_id object2_id);
Description
OMequal_objs compares two object ids.Arguments
object1_id object2_idReturned value
The returned value indicates whether the object ids are the same:Returned valueMeaning1The object ids are the same.0The object ids are not the same.OM_STAT_ERROROMequal_objs has failed. See Return StatusExamples
/* Compare two object ids. */
OMobj_id object1_id, object2_id;
...
if (OMequal_objs(object1_id, object2_id) == 1)
printf("Object ids are equal.\n");
else
printf("Object ids are not equal or an error has occurred.\n");See Also
![]() |
![]() |
![]() |
![]() |