summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/bsearch.3
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-06-05 03:39:22 +0000
committertedu <tedu@openbsd.org>2013-06-05 03:39:22 +0000
commit64d4e9871d1af4e50715ace8f2f237ff8e4d36e0 (patch)
tree90569bb16bd247c9a0433830994a6bc333a5a4f9 /lib/libc/stdlib/bsearch.3
parentm_defrag(9) wasnt documented. (diff)
downloadwireguard-openbsd-64d4e9871d1af4e50715ace8f2f237ff8e4d36e0.tar.xz
wireguard-openbsd-64d4e9871d1af4e50715ace8f2f237ff8e4d36e0.zip
Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze
Diffstat (limited to 'lib/libc/stdlib/bsearch.3')
-rw-r--r--lib/libc/stdlib/bsearch.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/bsearch.3 b/lib/libc/stdlib/bsearch.3
index 305dd48f509..270086df36d 100644
--- a/lib/libc/stdlib/bsearch.3
+++ b/lib/libc/stdlib/bsearch.3
@@ -29,16 +29,16 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: bsearch.3,v 1.8 2012/07/08 10:25:55 guenther Exp $
+.\" $OpenBSD: bsearch.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
.\"
-.Dd $Mdocdate: July 8 2012 $
+.Dd $Mdocdate: June 5 2013 $
.Dt BSEARCH 3
.Os
.Sh NAME
.Nm bsearch
.Nd binary search of a sorted table
.Sh SYNOPSIS
-.Fd #include <stdlib.h>
+.In stdlib.h
.Ft void *
.Fn bsearch "const void *key" "const void *base" "size_t nmemb" "size_t size" "int (*compar)(const void *, const void *)"
.Sh DESCRIPTION