#include "getopt.h"
#include <stddef.h>
#include <string.h>
Go to the source code of this file.
|
int | getopt (int argc, char *const argv[], const char *optstring) |
|
int | getopt_long (int argc, char *const argv[], const char *optstring, const struct option *longopts, int *longindex) |
|
int getopt |
( |
int |
argc, |
|
|
char *const |
argv[], |
|
|
const char * |
optstring |
|
) |
| |
int getopt_long |
( |
int |
argc, |
|
|
char *const |
argv[], |
|
|
const char * |
optstring, |
|
|
const struct option * |
longopts, |
|
|
int * |
longindex |
|
) |
| |
const int no_argument = 0 |
const int optional_argument = 2 |
const int required_argument = 1 |