Rev | Line | |
---|
[9] | 1 | /* Copyright (c) 1985 Ceriel J.H. Jacobs */
|
---|
| 2 |
|
---|
| 3 | /* $Header: /cvsup/minix/src/commands/yap/options.h,v 1.1.1.1 2005/04/21 14:55:40 beng Exp $ */
|
---|
| 4 |
|
---|
| 5 | # ifndef _OPTIONS_
|
---|
| 6 | # define PUBLIC extern
|
---|
| 7 | # else
|
---|
| 8 | # define PUBLIC
|
---|
| 9 | # endif
|
---|
| 10 |
|
---|
| 11 | PUBLIC int cflag; /* no home before each page */
|
---|
| 12 | PUBLIC int uflag; /* no underlining */
|
---|
| 13 | PUBLIC int nflag; /* no pattern matching on input */
|
---|
| 14 | PUBLIC int qflag; /* no exit on the next page command */
|
---|
| 15 | PUBLIC char * startcomm; /* There was a command option */
|
---|
| 16 |
|
---|
| 17 | char ** readoptions();
|
---|
| 18 | /*
|
---|
| 19 | * char ** readoptions(argv)
|
---|
| 20 | * char **argv; Arguments given to yap.
|
---|
| 21 | *
|
---|
| 22 | * process the options from the arguments. Return 0 if there was an error,
|
---|
| 23 | * otherwise return a pointer to where the filenames start.
|
---|
| 24 | */
|
---|
| 25 |
|
---|
| 26 | # undef PUBLIC
|
---|
Note:
See
TracBrowser
for help on using the repository browser.