diff options
author | Giorgos Keramidas <keramida@FreeBSD.org> | 2013-02-23 12:31:52 +0000 |
---|---|---|
committer | Giorgos Keramidas <keramida@FreeBSD.org> | 2013-02-23 12:31:52 +0000 |
commit | b3d4294f3a6ed7ec475f26eeefc24f0dbddd0a6c (patch) | |
tree | 62eb6986469b7f38825cbc102c2fa6c05d156e88 /lib/libc/stdlib | |
parent | 781c0f87d30df64da8c93c80211618b614d963d2 (diff) |
Notes
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/bsearch.3 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/stdlib/bsearch.3 b/lib/libc/stdlib/bsearch.3 index b3591f8e998b..25be84206874 100644 --- a/lib/libc/stdlib/bsearch.3 +++ b/lib/libc/stdlib/bsearch.3 @@ -32,7 +32,7 @@ .\" @(#)bsearch.3 8.3 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd April 19, 1994 +.Dd February 22, 2013 .Dt BSEARCH 3 .Os .Sh NAME @@ -71,6 +71,12 @@ less than, equal to, or greater than zero if the .Fa key object is found, respectively, to be less than, to match, or be greater than the array member. +See the +.Fa int_compare +sample function in +.Xr qsort 3 +for a comparison function that is also compatible with +.Fn bsearch . .Sh RETURN VALUES The .Fn bsearch |