version 1.1, 2014/04/15 20:18:26 |
version 1.4, 2015/03/27 17:37:25 |
|
|
.Nm mansearch_setup |
.Nm mansearch_setup |
.Nd search manual page databases |
.Nd search manual page databases |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.In manpath.h |
.In stdint.h |
|
.In manconf.h |
.In mansearch.h |
.In mansearch.h |
.Ft int |
.Ft int |
.Fo mansearch_setup |
.Fo mansearch_setup |
Line 52 Search options, defined in |
|
Line 53 Search options, defined in |
|
.In mansearch.h . |
.In mansearch.h . |
.It Fa "const struct manpaths *paths" |
.It Fa "const struct manpaths *paths" |
Directories to be searched, defined in |
Directories to be searched, defined in |
.In manpath.h . |
.In manconf.h . |
.It Fa "int argc" , "char *argv[]" |
.It Fa "int argc" , "char *argv[]" |
Search criteria, usually taken from the command line. |
Search criteria, usually taken from the command line. |
.El |
.El |
Line 171 using the following query: |
|
Line 172 using the following query: |
|
If the |
If the |
.Fa outkey |
.Fa outkey |
differs from |
differs from |
.Qq Nd , |
.Qq Ic \&Nd , |
the requested output data is assembled into the |
the requested output data is assembled into the |
.Va output |
.Va output |
field of the result structure by the function |
field of the result structure by the function |