YoushouldhavereceivedacopyoftheGNULibraryGeneralPublic LicensealongwiththeGNUCLibrary;seethefileCOPYING.LIB.Ifnot, writetotheFreeSoftwareFoundation,Inc.,59TemplePlace-Suite330,
Boston, MA 02111-1307, USA. */
int
gnu_getopt_long( int argc, char *const *argv, constchar *options, conststruct option *long_options, int *opt_index ) { return _gnu_getopt_internal (argc, argv, options, long_options, opt_index, 0);
}
/* Like gnu_getopt_long, but '-' as well as '--' can indicate a long option. Ifanoptionthatstartswith'-'(not'--')doesn'tmatchalongoption, butdoesmatchashortoption,itisparsedasashortoption
instead. */
int
gnu_getopt_long_only( int argc, char *const *argv, constchar *options, conststruct option *long_options, int *opt_index ) { return _gnu_getopt_internal (argc, argv, options, long_options, opt_index, 1);
}
#ifdef __cplusplus
} /* end extern "C" */ #endif
#ifdef TEST
#include <stdio.h>
int
main (argc, argv) int argc; char **argv;
{ int c; int digit_optind = 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.