uuid_compare- compares two UUIDs and determines their orderUsed by client, server or management applications
#include <dce/uuid.h>
signed32 uuid_compare(
uuid_t *uuid1,
uuid_t *uuid2,
unsigned32 *status);
Input
- uuid1
- A pointer to a UUID. This UUID is compared with the UUID specified in the uuid2 argument.
- uuid2
- A pointer to a UUID. This UUID is compared with the UUID specified in the uuid1 argument.
Output
- status
- Returns the status code from this routine. The status code indicates whether the routine completed successfully, or if not, why not.
Possible status codes and their meanings include:
- uuid_s_ok
- Success.
The uuid_compare() routine compares two UUIDs and determines their order.
If successful, returns one of the following constants:
- \(mi1
- The uuid1 argument precedes the uuid2 argument.
- 0
- The uuid1 argument is equal to the uuid2 argument.
- 1
- The uuid1 argument follows the uuid2 argument.
uuid_equal()
uuid_is_nil().
Please note that the html version of this specification may contain formatting aberrations. The definitive version is available as an electronic publication on CD-ROM from The Open Group.
Contents | Next section | Index |