Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line | 
|---|---|---|---|
| 326 | f9daq | 1 | // XGetopt.h  Version 1.2 | 
        
| 2 | // | 
        ||
| 3 | // Author:  Hans Dietrich | 
        ||
| 4 | //          hdietrich2@hotmail.com | 
        ||
| 5 | // | 
        ||
| 6 | // This software is released into the public domain. | 
        ||
| 7 | // You are free to use it in any way you like. | 
        ||
| 8 | // | 
        ||
| 9 | // This software is provided "as is" with no expressed | 
        ||
| 10 | // or implied warranty.  I accept no liability for any | 
        ||
| 11 | // damage or loss of business that this software may cause. | 
        ||
| 12 | // | 
        ||
| 13 | /////////////////////////////////////////////////////////////////////////////// | 
        ||
| 14 | |||
| 15 | #ifndef XGETOPT_H | 
        ||
| 16 | #define XGETOPT_H | 
        ||
| 17 | |||
| 18 | extern int optind, opterr;  | 
        ||
| 19 | //extern TCHAR *optarg; | 
        ||
| 20 | extern char *optarg;  | 
        ||
| 21 | |||
| 22 | //int getopt(int argc, TCHAR *argv[], TCHAR *optstring); | 
        ||
| 23 | int getopt(int argc, char *argv[], char *optstring);  | 
        ||
| 24 | |||
| 25 | #endif //XGETOPT_H |