Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/bcmp.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    44/*
    55
    6 NAME
     6@deftypefn Supplemental int bcmp (char *@var{x}, char *@var{y}, int @var{count})
    77
    8         bcmp -- compare two memory regions
     8Compares the first @var{count} bytes of two areas of memory.  Returns
     9zero if they are the same, nonzero otherwise.  Returns zero if
     10@var{count} is zero.  A nonzero result only indicates a difference,
     11it does not indicate any sorting order (say, by having a positive
     12result mean @var{x} sorts before @var{y}).
    913
    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
    2815
    2916*/
Note: See TracChangeset for help on using the changeset viewer.