summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2009-02-10 21:47:56 +0000
committerjmc <>2009-02-10 21:47:56 +0000
commit03ba8f736f8a96772bebb01f0fd7b1300d732472 (patch)
tree2295bf78ae5a3be400f60a62e4f78174f1079483 /src
parent26ebb297ae136c0b5d1a4200bd9aeac375f078b6 (diff)
downloadopenbsd-03ba8f736f8a96772bebb01f0fd7b1300d732472.tar.gz
openbsd-03ba8f736f8a96772bebb01f0fd7b1300d732472.tar.bz2
openbsd-03ba8f736f8a96772bebb01f0fd7b1300d732472.zip
correct function definitions; from Markus Bergkvist
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/stdlib/lsearch.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/lsearch.3 b/src/lib/libc/stdlib/lsearch.3
index e13ef4ec74..86638ae621 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.8 2007/05/31 19:19:31 jmc Exp $ 1.\" $OpenBSD: lsearch.3,v 1.9 2009/02/10 21:47:56 jmc 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.
@@ -29,7 +29,7 @@
29.\" 29.\"
30.\" @(#)lsearch.3 8.1 (Berkeley) 6/4/93 30.\" @(#)lsearch.3 8.1 (Berkeley) 6/4/93
31.\" 31.\"
32.Dd $Mdocdate: May 31 2007 $ 32.Dd $Mdocdate: February 10 2009 $
33.Dt LSEARCH 3 33.Dt LSEARCH 3
34.Os 34.Os
35.Sh NAME 35.Sh NAME
@@ -40,10 +40,10 @@
40.Fd #include <search.h> 40.Fd #include <search.h>
41.Ft char * 41.Ft char *
42.Fn lsearch "const void *key" "const void *base" "size_t *nelp" \ 42.Fn lsearch "const void *key" "const void *base" "size_t *nelp" \
43 "size_t width" "int (*compar)(void *, void *)" 43 "size_t width" "int (*compar)(const void *, const void *)"
44.Ft char * 44.Ft char *
45.Fn lfind "const void *key" "const void *base" "size_t *nelp" \ 45.Fn lfind "const void *key" "const void *base" "size_t *nelp" \
46 "size_t width" "int (*compar)(void *, void *)" 46 "size_t width" "int (*compar)(const void *, const void *)"
47.Sh DESCRIPTION 47.Sh DESCRIPTION
48The functions 48The functions
49.Fn lsearch 49.Fn lsearch