summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormillert <>2005-12-23 21:34:16 +0000
committermillert <>2005-12-23 21:34:16 +0000
commit0f55eca59c73334b4dd11e2bbd51b2370c3c3752 (patch)
treeeccbbbb9b86af8d45afeaa2ab59e3ad37ee2185c
parentc0e4674989e5492be75d86e5226e184d39f5d5c3 (diff)
downloadopenbsd-0f55eca59c73334b4dd11e2bbd51b2370c3c3752.tar.gz
openbsd-0f55eca59c73334b4dd11e2bbd51b2370c3c3752.tar.bz2
openbsd-0f55eca59c73334b4dd11e2bbd51b2370c3c3752.zip
Prototypes live in <search.h>
-rw-r--r--src/lib/libc/stdlib/lsearch.33
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/lsearch.3 b/src/lib/libc/stdlib/lsearch.3
index eda2aeb599..eda67ada01 100644
--- a/src/lib/libc/stdlib/lsearch.3
+++ b/src/lib/libc/stdlib/lsearch.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: lsearch.3,v 1.6 2005/07/26 04:20:23 jaredy Exp $ 1.\" $OpenBSD: lsearch.3,v 1.7 2005/12/23 21:34:16 millert Exp $
2.\" 2.\"
3.\" Copyright (c) 1989, 1991, 1993 3.\" Copyright (c) 1989, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -37,6 +37,7 @@
37.Nm lfind 37.Nm lfind
38.Nd linear searching routines 38.Nd linear searching routines
39.Sh SYNOPSIS 39.Sh SYNOPSIS
40.Fd #include <search.h>
40.Ft char * 41.Ft char *
41.Fn lsearch "const void *key" "const void *base" "size_t *nelp" \ 42.Fn lsearch "const void *key" "const void *base" "size_t *nelp" \
42 "size_t width" "int (*compar)(void *, void *)" 43 "size_t width" "int (*compar)(void *, void *)"