PreviousNext

uuid_create(3rpc)

Creates a new UUID

Used by client, server, or management applications.

Synopsis

#include <dce/uuid.h>

void uuid_create(

uuid_t *uuid,

unsigned32 *status);

Parameters

Input

None.

Output

uuid
Returns the new UUID.

status
Returns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not.

Description
The uuid_create( ) routine creates a new UUID.

Return Values
No value is returned.

Errors

The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.

uuid_s_ok
Success.

uuid_s_getconf_failure
Cannot get network interface device configuration.

uuid_s_no_address
Cannot get Ethernet hardware address.

uuid_s_socket_failure
Cannot create socket.

Related Information
Functions: uuid_create_nil(3rpc)

uuid_from_string(3rpc)

uuid_to_string(3rpc)