-.\" $Id: mansearch.3,v 1.1 2014/04/15 20:18:26 schwarze Exp $
+.\" $Id: mansearch.3,v 1.4 2015/03/27 17:37:25 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 15 2014 $
+.Dd $Mdocdate: March 27 2015 $
.Dt MANSEARCH 3
.Os
.Sh NAME
.Nm mansearch_setup
.Nd search manual page databases
.Sh SYNOPSIS
-.In manpath.h
+.In stdint.h
+.In manconf.h
.In mansearch.h
.Ft int
.Fo mansearch_setup
.In mansearch.h .
.It Fa "const struct manpaths *paths"
Directories to be searched, defined in
-.In manpath.h .
+.In manconf.h .
.It Fa "int argc" , "char *argv[]"
Search criteria, usually taken from the command line.
.El
If the
.Fa outkey
differs from
-.Qq Nd ,
+.Qq Ic \&Nd ,
the requested output data is assembled into the
.Va output
field of the result structure by the function