mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +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:
parent
5ab1864497
commit
c6fe1de30e
Notes:
sideshowbarker
2024-07-18 22:39:22 +09:00
Author: https://github.com/supercomputer7
Commit: c6fe1de30e
Pull-request: https://github.com/SerenityOS/serenity/pull/5163
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bcoles
Reviewed-by: https://github.com/linusg
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@ struct option {
|
|||
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);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue