1 --- _SB/Libc/stdlib/FreeBSD/bsearch.3 2003-05-20 15:23:24.000000000 -0700
2 +++ _SB/Libc/stdlib/FreeBSD/bsearch.3.edit 2006-06-28 16:55:52.000000000 -0700
7 -.Fn bsearch "const void *key" "const void *base" "size_t nmemb" "size_t size" "int (*compar) (const void *, const void *)"
8 +.Fn bsearch "const void *key" "const void *base" "size_t nel" "size_t width" "int (*compar) (const void *, const void *)"
12 function searches an array of
15 objects, the initial member of which is
18 for a member that matches the object pointed to by
20 -The size of each member of the array is specified by
22 +The size (in bytes) of each member of the array is specified by
25 The contents of the array should be in ascending sorted order according
26 to the comparison function referenced by
29 two arguments which point to the
31 -object and to an array member, in that order, and should return an integer
32 +object and to an array member, in that order.
33 +It should return an integer which is
34 less than, equal to, or greater than zero if the
36 object is found, respectively, to be less than, to match, or be