uuid_equal(3ncs)uuid_equal(3ncs)Nameuuid_equal - compare two UUIDs
Syntax
#include <idl/c/uuid.h>
boolean uuid_$equal(u1, u2)
uuid_$t *u1;
uuid_$t *u2;
Arguments
u1 A UUID.
u2 Another UUID.
Description
The routine compares the UUIDs u1 and u2. It returns `true' if they
are equal, `false' if they are not.
Examples
The following code compares the UUIDs bar_uuid and foo_uuid:
if (uuid_$equal (&bar_uuid, &foo_uuid))
printf ("bar and foo UUIDs are equal\n");
else
printf ("bar and foo UUIDs are not equal\n");
FilesSee Alsointro(3ncs)uuid_equal(3ncs)