X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmemcmp2.h;h=c00e141878d6f145915c8b5bb4d00195b1d67f59;hb=fcdbbe0069c767a03f42f7615175ac03494de93a;hp=2e20806b28a1ffac8fd162640eac43f6112473c6;hpb=ad6a23192f7f9d47aaaf9946a588bd87bf8cfa32;p=gnulib.git diff --git a/lib/memcmp2.h b/lib/memcmp2.h index 2e20806b2..c00e14187 100644 --- a/lib/memcmp2.h +++ b/lib/memcmp2.h @@ -1,5 +1,5 @@ /* Compare two memory areas with possibly different lengths. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published @@ -25,7 +25,7 @@ extern "C" { /* Compare the memory regions S1 = [s1..s1+N1-1], S2 = [s2..s2+n2-1], - alphabetically. + lexicographically. This function's result is locale independent, unlike memcoll()'s. Return a negative number if S1 < S2, a positive number if S1 > S2, or 0 if S1 and S2 have the same contents. */