YoushouldhavereceivedacopyoftheGNULibraryGeneralPublic LicensealongwiththeGNUCLibrary;seethefileCOPYING.LIB.Ifnot, writetotheFreeSoftwareFoundation,Inc.,59TemplePlace-Suite330,
Boston, MA 02111-1307, USA. */
/* For communication from `gnu_getopt' to the caller. When`gnu_getopt'findsanoptionthattakesanargument, theargumentvalueisreturnedhere. Also,when`ordering'isRETURN_IN_ORDER,
each non-option ARGV-element is returned here. */
externchar *gnu_optarg;
/* Index in ARGV of the next element to be scanned. Thisisusedforcommunicationtoandfromthecaller andforcommunicationbetweensuccessivecallsto`gnu_getopt'.
Otherwise,`gnu_optind'communicatesfromonecalltothenext
how much of ARGV has been scanned so far. */
externint gnu_optind;
/* Callers store zero here to inhibit the error message `gnu_getopt' prints
for unrecognized options. */
externint gnu_opterr;
/* Set to an option character which was unrecognized. */
externint gnu_optopt;
/* Describe the long-named options requested by the application. TheLONG_OPTIONSargumenttognu_getopt_longorgetopt_long_onlyisavector of`structoption'terminatedbyanelementcontaininganamewhichis zero.
Tohavealong-namedoptiondosomethingotherthansetan`int'to acompiled-inconstant,suchassetavaluefrom`gnu_optarg',setthe option's`flag'fieldtozeroandits`val'fieldtoanonzero value(theequivalentsingle-letteroptioncharacter,ifthereis one).Forlongoptionsthathaveazero`flag'field,`gnu_getopt'
returns the contents of the `val' field. */
/* has_arg can't be an enum because some compilers complain about
type mismatches in all the code that assumes it is an int. */
struct option { constchar *name; int has_arg; int *flag; int val;
};
/* Names for the values of the `has_arg' field of `struct option'. */
int gnu_getopt( int argc, char *const *argv, constchar *shortopts );
int gnu_getopt_long( int argc, char *const *argv, constchar *shortopts, conststruct option *longopts, int *longind );
int gnu_getopt_long_only( int argc, char *const *argv, constchar *shortopts, conststruct option *longopts, int *longind );
/* Internal only. Users should not call this directly. */ int _gnu_getopt_internal( int argc, char *const *argv, constchar *shortopts, conststruct option *longopts, int *longind, int long_only );
#ifdef __cplusplus
} /* end extern "C" */ #endif
#endif/* _GETOPT_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-09-29)
¤
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.