version 1.7, 2014/01/06 03:02:46 |
version 1.9, 2014/08/17 03:24:47 |
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
#ifdef HAVE_CONFIG_H |
|
#include "config.h" |
#include "config.h" |
#endif |
|
|
|
|
#include <sys/types.h> |
|
|
#include <assert.h> |
#include <assert.h> |
#include <getopt.h> |
#include <getopt.h> |
#include <limits.h> |
#include <limits.h> |
Line 87 main(int argc, char *argv[]) |
|
Line 87 main(int argc, char *argv[]) |
|
if (0 == argc) |
if (0 == argc) |
goto usage; |
goto usage; |
|
|
search.deftype = TYPE_Nm | TYPE_Nd; |
search.outkey = "Nd"; |
|
search.argmode = ARG_EXPR; |
|
|
manpath_parse(&paths, conf_file, defpaths, auxpaths); |
manpath_parse(&paths, conf_file, defpaths, auxpaths); |
ch = mansearch(&search, &paths, argc, argv, "Nd", &res, &sz); |
ch = mansearch(&search, &paths, argc, argv, &res, &sz); |
manpath_free(&paths); |
manpath_free(&paths); |
|
|
if (0 == ch) |
if (0 == ch) |