Lines Matching refs:argc
21 static int __getopt_long_core(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly);
23 static int __getopt_long(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly)
31 if (optind >= argc || !argv[optind]) return -1;
36 if (i >= argc || !argv[i]) return -1;
42 ret = __getopt_long_core(argc, argv, optstring, longopts, idx, longonly);
52 static int __getopt_long_core(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly)
120 return getopt(argc, argv, optstring);
123 int getopt_long(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx)
125 return __getopt_long(argc, argv, optstring, longopts, idx, 0);
128 int getopt_long_only(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx)
130 return __getopt_long(argc, argv, optstring, longopts, idx, 1);