version 1.6, 1997/11/30 05:30:36 |
version 1.9, 2003/06/03 02:56:05 |
|
|
* 2. Redistributions in binary form must reproduce the above copyright |
* 2. Redistributions in binary form must reproduce the above copyright |
* notice, this list of conditions and the following disclaimer in the |
* notice, this list of conditions and the following disclaimer in the |
* documentation and/or other materials provided with the distribution. |
* documentation and/or other materials provided with the distribution. |
* 3. All advertising materials mentioning features or use of this software |
* 3. Neither the name of the University nor the names of its contributors |
* must display the following acknowledgement: |
|
* This product includes software developed by the University of |
|
* California, Berkeley and its contributors. |
|
* 4. Neither the name of the University nor the names of its contributors |
|
* may be used to endorse or promote products derived from this software |
* may be used to endorse or promote products derived from this software |
* without specific prior written permission. |
* without specific prior written permission. |
* |
* |
|
|
|
|
#define MAXLINELEN 8192 /* max line handled */ |
#define MAXLINELEN 8192 /* max line handled */ |
|
|
void apropos __P((char **, char *, int)); |
void apropos(char **, char *, int); |
void lowstr __P((char *, char *)); |
void lowstr(char *, char *); |
int match __P((char *, char *)); |
int match(char *, char *); |
void usage __P((void)); |
void usage(void); |
|
|
int |
int |
main(argc, argv) |
main(argc, argv) |
|
|
{ |
{ |
|
|
(void)fprintf(stderr, |
(void)fprintf(stderr, |
"usage: apropos [-C file] [-M path] [-m path] keyword ...\n"); |
"usage: apropos [-C file] [-M path] [-m path] keyword [...]\n"); |
exit(1); |
exit(1); |
} |
} |