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/bsearch.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    2828 * SUCH DAMAGE.
    2929 */
     30
     31/*
     32
     33@deftypefn Supplemental void* bsearch (const void *@var{key}, const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, int (*@var{compar})(const void *, const void *))
     34
     35Performs a search over an array of @var{nmemb} elements pointed to by
     36@var{base} for a member that matches the object pointed to by @var{key}.
     37The size of each member is specified by @var{size}.  The array contents
     38should be sorted in ascending order according to the @var{compar}
     39comparison function.  This routine should take two arguments pointing to
     40the @var{key} and to an array member, in that order, and should return an
     41integer less than, equal to, or greater than zero if the @var{key} object
     42is respectively less than, matching, or greater than the array member.
     43
     44@end deftypefn
     45
     46*/
    3047
    3148#include "config.h"
Note: See TracChangeset for help on using the changeset viewer.