summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortedu <>2015-02-15 02:02:53 +0000
committertedu <>2015-02-15 02:02:53 +0000
commitfebdb24220fcb0cc63a37b757d06f4e264612b05 (patch)
tree47bc380d6bfeb0d800ceed4536507384bd078c33 /src/lib/libc
parent46f9c1e51fa6afacf67cce078dd5d9e012673e2b (diff)
downloadopenbsd-febdb24220fcb0cc63a37b757d06f4e264612b05.tar.gz
openbsd-febdb24220fcb0cc63a37b757d06f4e264612b05.tar.bz2
openbsd-febdb24220fcb0cc63a37b757d06f4e264612b05.zip
lsearch and lfind return void *
Diffstat (limited to 'src/lib/libc')
-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 370828ca33..a9deec155a 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.12 2014/11/30 20:19:12 schwarze Exp $ 1.\" $OpenBSD: lsearch.3,v 1.13 2015/02/15 02:02:53 tedu 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: November 30 2014 $ 32.Dd $Mdocdate: February 15 2015 $
33.Dt LSEARCH 3 33.Dt LSEARCH 3
34.Os 34.Os
35.Sh NAME 35.Sh NAME
@@ -38,10 +38,10 @@
38.Nd linear searching routines 38.Nd linear searching routines
39.Sh SYNOPSIS 39.Sh SYNOPSIS
40.In search.h 40.In search.h
41.Ft char * 41.Ft void *
42.Fn lsearch "const void *key" "void *base" "size_t *nelp" \ 42.Fn lsearch "const void *key" "void *base" "size_t *nelp" \
43 "size_t width" "int (*compar)(const void *, const void *)" 43 "size_t width" "int (*compar)(const void *, const void *)"
44.Ft char * 44.Ft void *
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)(const void *, const void *)" 46 "size_t width" "int (*compar)(const void *, const void *)"
47.Sh DESCRIPTION 47.Sh DESCRIPTION