diff options
author | Theodore Ts'o <tytso@mit.edu> | 1999-06-17 22:49:23 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1999-06-17 22:49:23 +0000 |
commit | ffd3af5874950a38f4e383331a5a332e40cabf80 (patch) | |
tree | 11485e3ead3a996b07157e43a42ddbe0d289d6bb /lib/uuid/uuid_compare.3.in | |
parent | a4bf69d919bc7e9716726371ecb0f0900efa5eb9 (diff) | |
download | e2fsprogs-ffd3af5874950a38f4e383331a5a332e40cabf80.tar.gz |
ChangeLog, uuid_compare.3.in, compare.c:
compare.c (uuid_compare): Change sense of uuid_compare so that its
return values match that of memcpy and the uuid_compare() found in
Paul Leach's internet-draft.
Diffstat (limited to 'lib/uuid/uuid_compare.3.in')
-rw-r--r-- | lib/uuid/uuid_compare.3.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/uuid/uuid_compare.3.in b/lib/uuid/uuid_compare.3.in index 3dab0719..de56e426 100644 --- a/lib/uuid/uuid_compare.3.in +++ b/lib/uuid/uuid_compare.3.in @@ -21,7 +21,11 @@ function compares the two supplied uuid variables .IR uu1 " and " uu2 to each other. .SH RETURN VALUE -Returns 1 if the two UUIDs are the same and 0 otherwise. +Returns an integer less than, equal to, or greater than zero if +.I uu1 +is found, respectively, to be lexigraphically less than, equal, or +greater than +.IR uu2 . .SH AUTHOR .B uuid_compare was written by Theodore Y. Ts'o for the ext2 filesystem utilties. |