|
@ -1,4 +1,4 @@ |
|
|
.\" $OpenBSD: lsearch.3,v 1.10 2013/06/05 03:39:23 tedu Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: lsearch.3,v 1.11 2014/07/18 07:25:26 matthew 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: June 5 2013 $ |
|
|
|
|
|
|
|
|
.Dd $Mdocdate: July 18 2014 $ |
|
|
.Dt LSEARCH 3 |
|
|
.Dt LSEARCH 3 |
|
|
.Os |
|
|
.Os |
|
|
.Sh NAME |
|
|
.Sh NAME |
|
@ -39,7 +39,7 @@ |
|
|
.Sh SYNOPSIS |
|
|
.Sh SYNOPSIS |
|
|
.In search.h |
|
|
.In search.h |
|
|
.Ft char * |
|
|
.Ft char * |
|
|
.Fn lsearch "const void *key" "const void *base" "size_t *nelp" \ |
|
|
|
|
|
|
|
|
.Fn lsearch "const void *key" "void *base" "size_t *nelp" \ |
|
|
"size_t width" "int (*compar)(const void *, const 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" \ |
|
|