9a9b91c940
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
16 lines
238 B
C
16 lines
238 B
C
#ifndef MLIBC_BITS_GETOPT
|
|
#define MLIBC_BITS_GETOPT
|
|
|
|
struct option {
|
|
const char *name;
|
|
int has_arg;
|
|
int *flag;
|
|
int val;
|
|
};
|
|
|
|
#define no_argument 0
|
|
#define required_argument 1
|
|
#define optional_argument 2
|
|
|
|
#endif /* MLIBC_BITS_GETOPT */
|