Browse Source

correct function definitions; from Markus Bergkvist

OPENBSD_4_5
jmc 16 years ago
parent
commit
d69225c623
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/lib/libc/stdlib/lsearch.3

+ 4
- 4
src/lib/libc/stdlib/lsearch.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: lsearch.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
.\" $OpenBSD: lsearch.3,v 1.9 2009/02/10 21:47:56 jmc Exp $
.\" .\"
.\" Copyright (c) 1989, 1991, 1993 .\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\" .\"
.\" @(#)lsearch.3 8.1 (Berkeley) 6/4/93 .\" @(#)lsearch.3 8.1 (Berkeley) 6/4/93
.\" .\"
.Dd $Mdocdate: May 31 2007 $
.Dd $Mdocdate: February 10 2009 $
.Dt LSEARCH 3 .Dt LSEARCH 3
.Os .Os
.Sh NAME .Sh NAME
@ -40,10 +40,10 @@
.Fd #include <search.h> .Fd #include <search.h>
.Ft char * .Ft char *
.Fn lsearch "const void *key" "const void *base" "size_t *nelp" \ .Fn lsearch "const void *key" "const void *base" "size_t *nelp" \
"size_t width" "int (*compar)(void *, void *)"
"size_t width" "int (*compar)(const void *, const void *)"
.Ft char * .Ft char *
.Fn lfind "const void *key" "const void *base" "size_t *nelp" \ .Fn lfind "const void *key" "const void *base" "size_t *nelp" \
"size_t width" "int (*compar)(void *, void *)"
"size_t width" "int (*compar)(const void *, const void *)"
.Sh DESCRIPTION .Sh DESCRIPTION
The functions The functions
.Fn lsearch .Fn lsearch


Loading…
Cancel
Save