summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/bsearch.3
diff options
context:
space:
mode:
authoraaron <>1999-06-29 18:36:24 +0000
committeraaron <>1999-06-29 18:36:24 +0000
commit5771e6280ed94b6457e5db9facb5899254e4fb7f (patch)
tree95397a7ed19a0cddf5a2ebb73dee20cf20fe2c29 /src/lib/libc/stdlib/bsearch.3
parent403f5844d16c63a63b8ce33a354e4871cb93df4c (diff)
downloadopenbsd-5771e6280ed94b6457e5db9facb5899254e4fb7f.tar.gz
openbsd-5771e6280ed94b6457e5db9facb5899254e4fb7f.tar.bz2
openbsd-5771e6280ed94b6457e5db9facb5899254e4fb7f.zip
first round of repairs on stdlib
Diffstat (limited to 'src/lib/libc/stdlib/bsearch.3')
-rw-r--r--src/lib/libc/stdlib/bsearch.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/bsearch.3 b/src/lib/libc/stdlib/bsearch.3
index 570a4227b4..63d4e6af69 100644
--- a/src/lib/libc/stdlib/bsearch.3
+++ b/src/lib/libc/stdlib/bsearch.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: bsearch.3,v 1.3 1997/06/13 23:41:35 deraadt Exp $ 36.\" $OpenBSD: bsearch.3,v 1.4 1999/06/29 18:36:19 aaron Exp $
37.\" 37.\"
38.Dd April 19, 1994 38.Dd April 19, 1994
39.Dt BSEARCH 3 39.Dt BSEARCH 3
@@ -50,12 +50,12 @@ The
50.Fn bsearch 50.Fn bsearch
51function searches an array of 51function searches an array of
52.Fa nmemb 52.Fa nmemb
53objects, the initial member of which is 53objects, the initial member of which is
54pointed to by 54pointed to by
55.Fa base , 55.Fa base ,
56for a member that matches the object pointed to by 56for a member that matches the object pointed to by
57.Fa key . 57.Fa key .
58The size of each member of the array is specified by 58The size of each member of the array is specified by
59.Fa size . 59.Fa size .
60.Pp 60.Pp
61The contents of the array should be in ascending sorted order according 61The contents of the array should be in ascending sorted order according