aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/bsearch.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/bsearch.3')
-rw-r--r--man/man3/bsearch.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/bsearch.3 b/man/man3/bsearch.3
index 916563d039..23e864c5c4 100644
--- a/man/man3/bsearch.3
+++ b/man/man3/bsearch.3
@@ -20,8 +20,8 @@ Standard C library
.B #include <stdlib.h>
.P
.BI "void *bsearch(const void " key [. size "], \
-const void " base [. size " * ." nmemb ],
-.BI " size_t " nmemb ", size_t " size ,
+const void " base [. size " * ." n ],
+.BI " size_t " n ", size_t " size ,
.BI " int (*" compar ")(const void [." size "], \
const void [." size ]));
.fi
@@ -29,7 +29,7 @@ const void [." size ]));
The
.BR bsearch ()
function searches an array of
-.I nmemb
+.I n
objects,
the initial member of which is pointed to by
.IR base ,