Browse Source

Prototypes live in <search.h>

OPENBSD_3_9
millert 19 years ago
parent
commit
482dbff289
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/lib/libc/stdlib/lsearch.3

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

@ -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 .\" 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.
@ -37,6 +37,7 @@
.Nm lfind .Nm lfind
.Nd linear searching routines .Nd linear searching routines
.Sh SYNOPSIS .Sh SYNOPSIS
.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)(void *, void *)"


Loading…
Cancel
Save