uuid_$gen Library Routine (NCS)

Purpose

Generates a new Universal Unique Identifier (UUID).

Syntax

void uuid_$gen ( uuid)
uuid_$t *uuid;

Description

The uuid_$gen routine returns a new UUID.

Parameters

Output

Item Description
uuid Points to the new UUID in the form of uuid_$t.

Examples

The following call returns as my_uuid a new UUID:

uuid_$gen (&my_uuid);