summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-12-23 21:34:16 +0000
committermillert <millert@openbsd.org>2005-12-23 21:34:16 +0000
commit0946b88b845f36409b79b643f35e2706ece6f644 (patch)
tree1ef53359e8e54e93eb0d5ea50e0b806ce07169b5 /lib/libc/stdlib
parentbetter way to probe winbonds, with kettenis (diff)
downloadwireguard-openbsd-0946b88b845f36409b79b643f35e2706ece6f644.tar.xz
wireguard-openbsd-0946b88b845f36409b79b643f35e2706ece6f644.zip
Prototypes live in <search.h>
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/lsearch.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdlib/lsearch.3 b/lib/libc/stdlib/lsearch.3
index eda2aeb5994..eda67ada013 100644
--- a/lib/libc/stdlib/lsearch.3
+++ b/lib/libc/stdlib/lsearch.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lsearch.3,v 1.6 2005/07/26 04:20:23 jaredy Exp $
+.\" $OpenBSD: lsearch.3,v 1.7 2005/12/23 21:34:16 millert Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -37,6 +37,7 @@
.Nm lfind
.Nd linear searching routines
.Sh SYNOPSIS
+.Fd #include <search.h>
.Ft char *
.Fn lsearch "const void *key" "const void *base" "size_t *nelp" \
"size_t width" "int (*compar)(void *, void *)"