2 .\" Title: uuid_compare
3 .\" Author: [see the "AUTHOR(S)" section]
4 .\" Generator: Asciidoctor 2.0.15
6 .\" Manual: Programmer's Manual
7 .\" Source: util-linux 2.37.3
10 .TH "UUID_COMPARE" "3" "2022-01-06" "util\-linux 2.37.3" "Programmer\(aqs Manual"
28 . LINKSTYLE blue R < >
31 uuid_compare \- compare whether two UUIDs are the same
34 \fB#include <uuid.h>\fP
36 \fBint uuid_compare(uuid_t \fIuu1\fP, uuid_t \fIuu2\fP)\fP
39 The \fBuuid_compare\fP() function compares the two supplied uuid variables \fIuu1\fP and \fIuu2\fP to each other.
42 Returns an integer less than, equal to, or greater than zero if \fIuu1\fP is found, respectively, to be lexicographically less than, equal, or greater than \fIuu2\fP.
51 \fBuuid_generate\fP(3),
52 \fBuuid_is_null\fP(3),
57 The \fBlibuuid\fP library is part of the util\-linux package since version 2.15.1. It can be downloaded from \c
58 .URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "."