zuuid(3)
========

NAME
----
zuuid - UUID support class

SYNOPSIS
--------
----
----

DESCRIPTION
-----------

The zuuid class generates UUIDs and provides methods for working with
them. If you build CZMQ with libuuid, on Unix/Linux, it will use that
library. On Windows it will use UuidCreate(). Otherwise it will use a
random number generator to produce convincing imitations of uuids.


EXAMPLE
-------
.From zuuid_test method
----
    //  Simple create/destroy test
    zuuid_t *uuid = zuuid_new ();
    assert (uuid);
    assert (zuuid_size (uuid) == 16);
    assert (strlen (zuuid_str (uuid)) == 32);
    zuuid_t *copy = zuuid_dup (uuid);
    assert (streq (zuuid_str (uuid), zuuid_str (copy)));
    zuuid_destroy (&uuid);
    zuuid_destroy (&copy);
----

SEE ALSO
--------
linkczmq:czmq[7]
