version 1.178, 2014/08/10 23:54:41 |
version 1.179, 2014/08/16 23:04:25 |
Line 68 struct curparse { |
|
Line 68 struct curparse { |
|
char outopts[BUFSIZ]; /* buf of output opts */ |
char outopts[BUFSIZ]; /* buf of output opts */ |
}; |
}; |
|
|
|
#if HAVE_SQLITE3 |
|
int apropos(int, char**); |
|
#endif |
|
|
static int moptions(int *, char *); |
static int moptions(int *, char *); |
static void mmsg(enum mandocerr, enum mandoclevel, |
static void mmsg(enum mandocerr, enum mandoclevel, |
const char *, int, int, const char *); |
const char *, int, int, const char *); |
Line 95 main(int argc, char *argv[]) |
|
Line 99 main(int argc, char *argv[]) |
|
progname = argv[0]; |
progname = argv[0]; |
else |
else |
++progname; |
++progname; |
|
|
|
#if HAVE_SQLITE3 |
|
if (0 == strncmp(progname, "apropos", 7) || |
|
0 == strncmp(progname, "whatis", 6)) |
|
return(apropos(argc, argv)); |
|
#endif |
|
|
memset(&curp, 0, sizeof(struct curparse)); |
memset(&curp, 0, sizeof(struct curparse)); |
|
|