blob: a5759eb09bb4d3702457185768a6eff5c253bd61 [file] [log] [blame]
Theodore Ts'o4eca93b1999-03-16 20:31:56 +00001.\" Copyright 1999 Andreas Dilger (adilger@enel.ucalgary.ca)
2.\"
3.\" This man page was created for libuuid.so.1.1 from e2fsprogs-1.14.
4.\"
5.\" This file may be copied under the terms of the GNU Public License.
6.\"
7.\" Created Wed Mar 10 17:42:12 1999, Andreas Dilger
8.TH UUID_COMPARE 3 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
9.SH NAME
10uuid_compare \- compare whether two UUIDs are the same
11.SH SYNOPSIS
12.nf
13.B #include <uuid/uuid.h>
14.sp
15.BI "int uuid_compare(uuid_t " uu1 ", uuid_t " uu2)
16.fi
17.SH DESCRIPTION
18The
19.B uuid_compare
20function compares the two supplied uuid variables
21.IR uu1 " and " uu2
22to each other.
23.SH RETURN VALUE
Theodore Ts'offd3af51999-06-17 22:49:23 +000024Returns an integer less than, equal to, or greater than zero if
25.I uu1
26is found, respectively, to be lexigraphically less than, equal, or
27greater than
28.IR uu2 .
Theodore Ts'o4eca93b1999-03-16 20:31:56 +000029.SH AUTHOR
30.B uuid_compare
31was written by Theodore Y. Ts'o for the ext2 filesystem utilties.
32.SH AVAILABILITY
33.B uuid_compare
Theodore Ts'o14fc5a32001-05-12 15:32:46 +000034is part of libuuid from the e2fsprogs package and is available from
35http://e2fsprogs.sourceforge.net.
Theodore Ts'o4eca93b1999-03-16 20:31:56 +000036.SH "SEE ALSO"
37.BR libuuid (3),
38.BR uuid_clear (3),
39.BR uuid_copy (3),
40.BR uuid_generate (3),
41.BR uuid_is_null (3)