Category : OS/2 Files
Archive   : EMXDEV8F.ZIP
Filename : GETOPT.H

 
Output of file : GETOPT.H contained in archive : EMXDEV8F.ZIP
/* getopt (emx+gcc) */

#if !defined (_GETOPT_H)
#define _GETOPT_H

#if defined (__cplusplus)
extern "C" {
#endif

#if !defined (_GETOPT_C)

extern char *optarg; /* argument of current option */
extern int optind; /* index of next argument; default=0: initialize */
extern int opterr; /* 0=disable error messages; default=1: enable */
extern char *optswchar; /* characters introducing options; default="-" */

#endif

extern enum _optmode
{
GETOPT_UNIX, /* options at start of argument list (default) */
GETOPT_ANY, /* move non-options to the end */
GETOPT_KEEP, /* return options in order */
} optmode;


int getopt (int argc, char **argv, __const__ char *opt_str);

#if defined (__cplusplus)
}
#endif

#endif /* !defined (_GETOPT_H) */


  3 Responses to “Category : OS/2 Files
Archive   : EMXDEV8F.ZIP
Filename : GETOPT.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/