mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibC: Expose various option variables for later usage
These variables are used by the dmidecode utility to parse the commandline arguments that were specified by the user.
This commit is contained in:
@@ -41,6 +41,11 @@ struct option {
|
|||||||
int val;
|
int val;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern int opterr;
|
||||||
|
extern int optopt;
|
||||||
|
extern int optind;
|
||||||
|
extern int optreset;
|
||||||
|
extern char* optarg;
|
||||||
int getopt_long(int argc, char** argv, const char* short_options, const struct option* long_options, int* out_long_option_index);
|
int getopt_long(int argc, char** argv, const char* short_options, const struct option* long_options, int* out_long_option_index);
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|||||||
Reference in New Issue
Block a user