亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? getopt.c

?? gz124src.zip is a mini Gzip.
?? C
?? 第 1 頁 / 共 2 頁
字號:
	  /* Now skip any additional non-options	     and extend the range of non-options previously skipped.  */	  while (optind < argc		 && (argv[optind][0] != '-' || argv[optind][1] == '\0')#ifdef GETOPT_COMPAT		 && (longopts == NULL		     || argv[optind][0] != '+' || argv[optind][1] == '\0')#endif				/* GETOPT_COMPAT */		 )	    optind++;	  last_nonopt = optind;	}      /* Special ARGV-element `--' means premature end of options.	 Skip it like a null option,	 then exchange with previous non-options as if it were an option,	 then skip everything else like a non-option.  */      if (optind != argc && !strcmp (argv[optind], "--"))	{	  optind++;	  if (first_nonopt != last_nonopt && last_nonopt != optind)	    exchange ((char **) argv);	  else if (first_nonopt == last_nonopt)	    first_nonopt = optind;	  last_nonopt = argc;	  optind = argc;	}      /* If we have done all the ARGV-elements, stop the scan	 and back over any non-options that we skipped and permuted.  */      if (optind == argc)	{	  /* Set the next-arg-index to point at the non-options	     that we previously skipped, so the caller will digest them.  */	  if (first_nonopt != last_nonopt)	    optind = first_nonopt;	  return EOF;	}      /* If we have come to a non-option and did not permute it,	 either stop the scan or describe it to the caller and pass it by.  */      if ((argv[optind][0] != '-' || argv[optind][1] == '\0')#ifdef GETOPT_COMPAT	  && (longopts == NULL	      || argv[optind][0] != '+' || argv[optind][1] == '\0')#endif				/* GETOPT_COMPAT */	  )	{	  if (ordering == REQUIRE_ORDER)	    return EOF;	  optarg = argv[optind++];	  return 1;	}      /* We have found another option-ARGV-element.	 Start decoding its characters.  */      nextchar = (argv[optind] + 1		  + (longopts != NULL && argv[optind][1] == '-'));    }  if (longopts != NULL      && ((argv[optind][0] == '-'	   && (argv[optind][1] == '-' || long_only))#ifdef GETOPT_COMPAT	  || argv[optind][0] == '+'#endif				/* GETOPT_COMPAT */	  ))    {      const struct option *p;      char *s = nextchar;      int exact = 0;      int ambig = 0;      const struct option *pfound = NULL;      int indfound = 0;      while (*s && *s != '=')	s++;      /* Test all options for either exact match or abbreviated matches.  */      for (p = longopts, option_index = 0; p->name;	   p++, option_index++)	if (!strncmp (p->name, nextchar, s - nextchar))	  {	    if (s - nextchar == my_strlen (p->name))	      {		/* Exact match found.  */		pfound = p;		indfound = option_index;		exact = 1;		break;	      }	    else if (pfound == NULL)	      {		/* First nonexact match found.  */		pfound = p;		indfound = option_index;	      }	    else	      /* Second nonexact match found.  */	      ambig = 1;	  }      if (ambig && !exact)	{	  if (opterr)	    fprintf (stderr, "%s: option `%s' is ambiguous\n",		     argv[0], argv[optind]);	  nextchar += my_strlen (nextchar);	  optind++;	  return BAD_OPTION;	}      if (pfound != NULL)	{	  option_index = indfound;	  optind++;	  if (*s)	    {	      /* Don't test has_arg with >, because some C compilers don't		 allow it to be used on enums.  */	      if (pfound->has_arg)		optarg = s + 1;	      else		{		  if (opterr)		    {		      if (argv[optind - 1][1] == '-')			/* --option */			fprintf (stderr,				 "%s: option `--%s' doesn't allow an argument\n",				 argv[0], pfound->name);		      else			/* +option or -option */			fprintf (stderr,			     "%s: option `%c%s' doesn't allow an argument\n",			     argv[0], argv[optind - 1][0], pfound->name);		    }		  nextchar += my_strlen (nextchar);		  return BAD_OPTION;		}	    }	  else if (pfound->has_arg == 1)	    {	      if (optind < argc)		optarg = argv[optind++];	      else		{		  if (opterr)		    fprintf (stderr, "%s: option `%s' requires an argument\n",			     argv[0], argv[optind - 1]);		  nextchar += my_strlen (nextchar);		  return optstring[0] == ':' ? ':' : BAD_OPTION;		}	    }	  nextchar += my_strlen (nextchar);	  if (longind != NULL)	    *longind = option_index;	  if (pfound->flag)	    {	      *(pfound->flag) = pfound->val;	      return 0;	    }	  return pfound->val;	}      /* Can't find it as a long option.  If this is not getopt_long_only,	 or the option starts with '--' or is not a valid short	 option, then it's an error.	 Otherwise interpret it as a short option.  */      if (!long_only || argv[optind][1] == '-'#ifdef GETOPT_COMPAT	  || argv[optind][0] == '+'#endif				/* GETOPT_COMPAT */	  || my_index (optstring, *nextchar) == NULL)	{	  if (opterr)	    {	      if (argv[optind][1] == '-')		/* --option */		fprintf (stderr, "%s: unrecognized option `--%s'\n",			 argv[0], nextchar);	      else		/* +option or -option */		fprintf (stderr, "%s: unrecognized option `%c%s'\n",			 argv[0], argv[optind][0], nextchar);	    }	  nextchar = (char *) "";	  optind++;	  return BAD_OPTION;	}    }  /* Look at and handle the next option-character.  */  {    char c = *nextchar++;    char *temp = my_index (optstring, c);    /* Increment `optind' when we start to process its last character.  */    if (*nextchar == '\0')      ++optind;    if (temp == NULL || c == ':')      {	if (opterr)	  {#if 0	    if (c < 040 || c >= 0177)	      fprintf (stderr, "%s: unrecognized option, character code 0%o\n",		       argv[0], c);	    else	      fprintf (stderr, "%s: unrecognized option `-%c'\n", argv[0], c);#else	    /* 1003.2 specifies the format of this message.  */	    fprintf (stderr, "%s: illegal option -- %c\n", argv[0], c);#endif	  }	optopt = c;	return BAD_OPTION;      }    if (temp[1] == ':')      {	if (temp[2] == ':')	  {	    /* This is an option that accepts an argument optionally.  */	    if (*nextchar != '\0')	      {		optarg = nextchar;		optind++;	      }	    else	      optarg = 0;	    nextchar = NULL;	  }	else	  {	    /* This is an option that requires an argument.  */	    if (*nextchar != '\0')	      {		optarg = nextchar;		/* If we end this ARGV-element by taking the rest as an arg,		   we must advance to the next element now.  */		optind++;	      }	    else if (optind == argc)	      {		if (opterr)		  {#if 0		    fprintf (stderr, "%s: option `-%c' requires an argument\n",			     argv[0], c);#else		    /* 1003.2 specifies the format of this message.  */		    fprintf (stderr, "%s: option requires an argument -- %c\n",			     argv[0], c);#endif		  }		optopt = c;		if (optstring[0] == ':')		  c = ':';		else		  c = BAD_OPTION;	      }	    else	      /* We already incremented `optind' once;		 increment it again when taking next ARGV-elt as argument.  */	      optarg = argv[optind++];	    nextchar = NULL;	  }      }    return c;  }}intgetopt (argc, argv, optstring)     int argc;     char *const *argv;     const char *optstring;{  return _getopt_internal (argc, argv, optstring,			   (const struct option *) 0,			   (int *) 0,			   0);}intgetopt_long (argc, argv, options, long_options, opt_index)     int argc;     char *const *argv;     const char *options;     const struct option *long_options;     int *opt_index;{  return _getopt_internal (argc, argv, options, long_options, opt_index, 0);}#endif	/* _LIBC or not __GNU_LIBRARY__.  */#ifdef TEST/* Compile with -DTEST to make an executable for use in testing   the above definition of `getopt'.  */intmain (argc, argv)     int argc;     char **argv;{  int c;  int digit_optind = 0;  while (1)    {      int this_option_optind = optind ? optind : 1;      c = getopt (argc, argv, "abc:d:0123456789");      if (c == EOF)	break;      switch (c)	{	case '0':	case '1':	case '2':	case '3':	case '4':	case '5':	case '6':	case '7':	case '8':	case '9':	  if (digit_optind != 0 && digit_optind != this_option_optind)	    printf ("digits occur in two different argv-elements.\n");	  digit_optind = this_option_optind;	  printf ("option %c\n", c);	  break;	case 'a':	  printf ("option a\n");	  break;	case 'b':	  printf ("option b\n");	  break;	case 'c':	  printf ("option c with value `%s'\n", optarg);	  break;	case BAD_OPTION:	  break;	default:	  printf ("?? getopt returned character code 0%o ??\n", c);	}    }  if (optind < argc)    {      printf ("non-option ARGV-elements: ");      while (optind < argc)	printf ("%s ", argv[optind++]);      printf ("\n");    }  exit (0);}#endif /* TEST */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美老女人在线| 欧美午夜片在线看| 欧美日韩一区高清| 国产免费久久精品| 亚洲大片一区二区三区| 国产精品系列在线播放| 欧美日韩视频在线观看一区二区三区| 久久日韩精品一区二区五区| 亚洲国产精品久久久男人的天堂| 岛国一区二区在线观看| 欧美电视剧免费观看| 性做久久久久久久免费看| av在线不卡电影| 久久久久久影视| 美国欧美日韩国产在线播放| 欧美日韩一区视频| 亚洲乱码日产精品bd| 白白色 亚洲乱淫| 国产亚洲成年网址在线观看| 美女一区二区视频| 欧美高清性hdvideosex| 一区二区三区久久久| 成人av资源在线| 国产三级一区二区| 国内精品国产三级国产a久久| 6080亚洲精品一区二区| 午夜精品福利在线| 欧美性猛片aaaaaaa做受| 亚洲女与黑人做爰| eeuss国产一区二区三区| 国产片一区二区| 国产成人午夜精品影院观看视频| 精品国产乱码久久久久久闺蜜| 蜜臀久久久99精品久久久久久| 欧美日韩国产美女| 亚洲国产日日夜夜| 欧美色精品在线视频| 亚洲国产美女搞黄色| 欧美亚一区二区| 午夜精品久久久久久久久| 91.com在线观看| 日本中文在线一区| 欧美一级黄色大片| 久久精品国产99国产| 91精品啪在线观看国产60岁| 亚洲欧美日韩国产另类专区| 色综合久久久久综合体| 悠悠色在线精品| 欧美影院午夜播放| 婷婷丁香激情综合| 日韩一区二区高清| 韩国成人福利片在线播放| 日韩精品中午字幕| 国产老妇另类xxxxx| 国产精品视频麻豆| 91麻豆文化传媒在线观看| 91精品久久久久久久久99蜜臂| 中文字幕欧美三区| 成人国产精品视频| 久久久一区二区三区| 奇米色一区二区三区四区| 欧美大尺度电影在线| 国产剧情一区二区三区| 中文字幕av一区二区三区高| 91视频在线看| 一区二区高清在线| 91精品国产入口| 国产剧情在线观看一区二区| 中文字幕在线观看一区二区| 在线观看日韩电影| 另类小说综合欧美亚洲| 亚洲国产高清在线观看视频| 欧洲精品在线观看| 美腿丝袜一区二区三区| 国产精品女同互慰在线看| 欧美做爰猛烈大尺度电影无法无天| 日日夜夜免费精品| 久久精品一区二区| 色婷婷综合久久久中文字幕| 日本欧美在线看| 国产日韩欧美制服另类| 在线视频欧美区| 久久疯狂做爰流白浆xx| 国产精品蜜臀在线观看| 欧美精品在线观看一区二区| 国产精品综合一区二区三区| 伊人一区二区三区| 日韩女优av电影在线观看| 成人精品免费看| 亚洲mv在线观看| 国产午夜亚洲精品理论片色戒| 日本精品免费观看高清观看| 久久99精品久久久久久动态图| 中文字幕在线不卡视频| 在线播放国产精品二区一二区四区| 国产精品一区二区免费不卡 | 高清国产一区二区三区| 一区二区三区日韩欧美| 精品久久久久久综合日本欧美| 91麻豆国产在线观看| 免费成人在线影院| 中文字幕在线免费不卡| 精品国产免费久久 | 久久国产免费看| |精品福利一区二区三区| 欧美一区二区大片| 91小视频免费观看| 国产在线一区观看| 亚洲福利一区二区三区| 国产精品乱码久久久久久| 色先锋资源久久综合| 国产在线播放一区| 婷婷久久综合九色综合绿巨人| 国产精品久久久久久久久久久免费看 | 国产一区二区按摩在线观看| 亚洲国产精品久久艾草纯爱| 国产精品视频看| 精品国产自在久精品国产| 欧美在线免费观看视频| 国产成人无遮挡在线视频| 日韩高清一级片| 一区二区久久久久久| 国产精品国产三级国产a| 国产福利电影一区二区三区| 欧美国产日韩亚洲一区| 日韩欧美一二区| 欧美日韩激情在线| 91蝌蚪porny九色| 懂色av一区二区三区免费观看| 美女mm1313爽爽久久久蜜臀| 亚洲成人免费视频| 亚洲少妇屁股交4| 国产欧美一区二区三区在线看蜜臀| 日韩亚洲欧美一区二区三区| 欧美性猛片aaaaaaa做受| 中文字幕第一区| 国产成人在线视频网址| 九九**精品视频免费播放| 水野朝阳av一区二区三区| 精品成人一区二区三区四区| 制服丝袜成人动漫| 欧美日韩中字一区| 在线精品视频一区二区三四| 91丨九色丨蝌蚪富婆spa| 成人免费视频视频| 国产suv一区二区三区88区| 国产在线看一区| 九色综合狠狠综合久久| 六月丁香婷婷色狠狠久久| 日韩手机在线导航| 北条麻妃一区二区三区| 国产999精品久久久久久绿帽| 国产一区二区三区在线看麻豆| 久久精品国产久精国产| 久久69国产一区二区蜜臀| 久久成人久久爱| 九色|91porny| 国产揄拍国内精品对白| 狠狠色狠狠色综合系列| 国产在线视频一区二区| 国产麻豆9l精品三级站| 国产成人亚洲综合a∨猫咪| 懂色中文一区二区在线播放| 成人免费视频一区| 波多野结衣在线一区| 91香蕉视频黄| 欧美在线观看视频一区二区| 欧美日韩在线精品一区二区三区激情| 欧美三级乱人伦电影| 国产呦萝稀缺另类资源| 国产精品123区| 成人av在线观| 在线观看日韩一区| 欧美一级黄色录像| 久久亚洲一区二区三区四区| 国产日韩v精品一区二区| 国产精品福利一区| 一区二区三区在线播| 五月天久久比比资源色| 蜜桃一区二区三区在线观看| 欧美性色欧美a在线播放| 欧美日韩美女一区二区| 日韩丝袜美女视频| 国产精品成人午夜| 夜夜精品视频一区二区| 天堂成人免费av电影一区| 久久精品国内一区二区三区| 国产高清精品网站| 91视频在线看| 91精品免费在线| 中文字幕欧美日韩一区| 亚洲一区二区在线免费观看视频 | 久久青草欧美一区二区三区| 中文字幕中文字幕在线一区| 一区二区三区国产豹纹内裤在线 | 国产精品久久久一本精品| 亚洲一区二区三区自拍| 久久国产综合精品| 亚洲高清免费观看高清完整版在线观看| 毛片不卡一区二区|