Browse Source

lsearch and lfind return void *

OPENBSD_5_7
tedu 9 years ago
parent
commit
f560a5c78d
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.12 2014/11/30 20:19:12 schwarze Exp $
.\" $OpenBSD: lsearch.3,v 1.13 2015/02/15 02:02:53 tedu Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\"
.\" @(#)lsearch.3 8.1 (Berkeley) 6/4/93
.\"
.Dd $Mdocdate: November 30 2014 $
.Dd $Mdocdate: February 15 2015 $
.Dt LSEARCH 3
.Os
.Sh NAME
@ -38,10 +38,10 @@
.Nd linear searching routines
.Sh SYNOPSIS
.In search.h
.Ft char *
.Ft void *
.Fn lsearch "const void *key" "void *base" "size_t *nelp" \
"size_t width" "int (*compar)(const void *, const void *)"
.Ft char *
.Ft void *
.Fn lfind "const void *key" "const void *base" "size_t *nelp" \
"size_t width" "int (*compar)(const void *, const void *)"
.Sh DESCRIPTION


Loading…
Cancel
Save