This section describes functions that facilitate creation and use of immutable universally unique identifiers (UUID).
...
For information about the uuid type inin , see Data Types(3.0).
...
Parameter | Description |
---|---|
Returns | A version 4 UUID (randomly generated UUID) |
Info | |||||||
---|---|---|---|---|---|---|---|
| |||||||
The following example creates a random UUID:
|
...
This function returns the version of a UUID. The version number describes the type of the UUID, e g time-based, DCE security, name-based, and randomly generated UUID. For instance, a UUID generated by the function uuidCreateRandom is 4 (randomly generated UUID).
Code Block |
---|
int uuidGetVersion ( uuid aUuid ) |
...
Info | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
The result of the following two examples are identical:
|
Scroll pagebreak |
---|