I'm using getopt in an X program. I've noticed there is
a bit of a conflict with with some X calls (can't remember
the call name at the moment ...XtAppInitialize()?) Anyway
the X call parses the command line for the X related options.
How do I get program specific options in there in a friendly
way?
The ugly way I do it now:
int main( int argc, char *argv[] )
{
... code
getopt();
... code
/* use GUI if user wants */
gui( argc, argv );
... code
FredQuote:}
in gui( int argc, char *argv[] )
{
XtAppInitialize( blah, blah ...)
Quote:}