Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(3ncs)

uuid_equal(3ncs)

Name

uuid_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 uuid_$encode 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");

Files

/usr/include/idl/uuid.idl
/usr/include/idl/c/uuid.h

See Also

intro(3ncs)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026