Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section describes functions that facilitate creation and use of  immutable universally unique identifiers (UUID).

...

For information about the uuid UUID type in Image Added, see 1.5 Data types

...

ParameterDescription

Returns

A version 4 UUID (randomly generated UUID)


Info
titleExample - uuidCreateRandom

The following example creates a random UUID:

Code Block
languagetext
themeEclipse
uuid getUuid() {
    return uuidCreateRandom();   
}


...

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 )

...