Changeset 609 for branches/GNU/src/binutils/libiberty/bcmp.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/bcmp.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 4 4 /* 5 5 6 NAME 6 @deftypefn Supplemental int bcmp (char *@var{x}, char *@var{y}, int @var{count}) 7 7 8 bcmp -- compare two memory regions 8 Compares the first @var{count} bytes of two areas of memory. Returns 9 zero if they are the same, nonzero otherwise. Returns zero if 10 @var{count} is zero. A nonzero result only indicates a difference, 11 it does not indicate any sorting order (say, by having a positive 12 result mean @var{x} sorts before @var{y}). 9 13 10 SYNOPSIS 11 12 int bcmp (char *from, char *to, int count) 13 14 DESCRIPTION 15 16 Compare two memory regions and return zero if they are identical, 17 non-zero otherwise. If count is zero, return zero. 18 19 NOTES 20 21 No guarantee is made about the non-zero returned value. In 22 particular, the results may be signficantly different than 23 strcmp(), where the return value is guaranteed to be less than, 24 equal to, or greater than zero, according to lexicographical 25 sorting of the compared regions. 26 27 BUGS 14 @end deftypefn 28 15 29 16 */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.