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

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

?? getopt.c

?? GRUB 0.93的源代碼。有人說可以當一個很小的操作系統了
?? C
?? 第 1 頁 / 共 2 頁
字號:
	optind = 1;	/* Don't scan ARGV[0], the program name.  */      optstring = _getopt_initialize (argc, argv, optstring);      __getopt_initialized = 1;    }  /* Test whether ARGV[optind] points to a non-option argument.     Either it does not have option syntax, or there is an environment flag     from the shell indicating it is not an option.  The later information     is only used when the used in the GNU libc.  */#ifdef _LIBC# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0'	      \		      || (optind < nonoption_flags_len			      \			  && __getopt_nonoption_flags[optind] == '1'))#else# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0')#endif  if (nextchar == NULL || *nextchar == '\0')    {      /* Advance to the next ARGV-element.  */      /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been	 moved back by the user (who may also have changed the arguments).  */      if (last_nonopt > optind)	last_nonopt = optind;      if (first_nonopt > optind)	first_nonopt = optind;      if (ordering == PERMUTE)	{	  /* If we have just processed some options following some non-options,	     exchange them so that the options come first.  */	  if (first_nonopt != last_nonopt && last_nonopt != optind)	    exchange ((char **) argv);	  else if (last_nonopt != optind)	    first_nonopt = optind;	  /* Skip any additional non-options	     and extend the range of non-options previously skipped.  */	  while (optind < argc && NONOPTION_P)	    optind++;	  last_nonopt = optind;	}      /* The 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 -1;	}      /* 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 (NONOPTION_P)	{	  if (ordering == REQUIRE_ORDER)	    return -1;	  optarg = argv[optind++];	  return 1;	}      /* We have found another option-ARGV-element.	 Skip the initial punctuation.  */      nextchar = (argv[optind] + 1		  + (longopts != NULL && argv[optind][1] == '-'));    }  /* Decode the current option-ARGV-element.  */  /* Check whether the ARGV-element is a long option.     If long_only and the ARGV-element has the form "-f", where f is     a valid short option, don't consider it an abbreviated form of     a long option that starts with f.  Otherwise there would be no     way to give the -f short option.     On the other hand, if there's a long option "fubar" and     the ARGV-element is "-fu", do consider that an abbreviation of     the long option, just like "--fu", and not "-f" with arg "u".     This distinction seems to be the most useful approach.  */  if (longopts != NULL      && (argv[optind][1] == '-'	  || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1])))))    {      char *nameend;      const struct option *p;      const struct option *pfound = NULL;      int exact = 0;      int ambig = 0;      int indfound = -1;      int option_index;      for (nameend = nextchar; *nameend && *nameend != '='; nameend++)	/* Do nothing.  */ ;      /* Test all long options for either exact match	 or abbreviated matches.  */      for (p = longopts, option_index = 0; p->name; p++, option_index++)	if (!strncmp (p->name, nextchar, nameend - nextchar))	  {	    if ((unsigned int) (nameend - nextchar)		== (unsigned int) 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 or later nonexact match found.  */	      ambig = 1;	  }      if (ambig && !exact)	{	  if (opterr)	    fprintf (stderr, _("%s: option `%s' is ambiguous\n"),		     argv[0], argv[optind]);	  nextchar += strlen (nextchar);	  optind++;	  optopt = 0;	  return '?';	}      if (pfound != NULL)	{	  option_index = indfound;	  optind++;	  if (*nameend)	    {	      /* Don't test has_arg with >, because some C compilers don't		 allow it to be used on enums.  */	      if (pfound->has_arg)		optarg = nameend + 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 += strlen (nextchar);		  optopt = pfound->val;		  return '?';		}	    }	  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 += strlen (nextchar);		  optopt = pfound->val;		  return optstring[0] == ':' ? ':' : '?';		}	    }	  nextchar += 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] == '-'	  || 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++;	  optopt = 0;	  return '?';	}    }  /* Look at and handle the next short 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 (posixly_correct)	      /* 1003.2 specifies the format of this message.  */	      fprintf (stderr, _("%s: illegal option -- %c\n"),		       argv[0], c);	    else	      fprintf (stderr, _("%s: invalid option -- %c\n"),		       argv[0], c);	  }	optopt = c;	return '?';      }    /* Convenience. Treat POSIX -W foo same as long option --foo */    if (temp[0] == 'W' && temp[1] == ';')      {	char *nameend;	const struct option *p;	const struct option *pfound = NULL;	int exact = 0;	int ambig = 0;	int indfound = 0;	int option_index;	/* 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)	      {		/* 1003.2 specifies the format of this message.  */		fprintf (stderr, _("%s: option requires an argument -- %c\n"),			 argv[0], c);	      }	    optopt = c;	    if (optstring[0] == ':')	      c = ':';	    else	      c = '?';	    return c;	  }	else	  /* We already incremented `optind' once;	     increment it again when taking next ARGV-elt as argument.  */	  optarg = argv[optind++];	/* optarg is now the argument, see if it's in the	   table of longopts.  */	for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++)	  /* Do nothing.  */ ;	/* Test all long options for either exact match	   or abbreviated matches.  */	for (p = longopts, option_index = 0; p->name; p++, option_index++)	  if (!strncmp (p->name, nextchar, nameend - nextchar))	    {	      if ((unsigned int) (nameend - nextchar) == 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 or later nonexact match found.  */		ambig = 1;	    }	if (ambig && !exact)	  {	    if (opterr)	      fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"),		       argv[0], argv[optind]);	    nextchar += strlen (nextchar);	    optind++;	    return '?';	  }	if (pfound != NULL)	  {	    option_index = indfound;	    if (*nameend)	      {		/* Don't test has_arg with >, because some C compilers don't		   allow it to be used on enums.  */		if (pfound->has_arg)		  optarg = nameend + 1;		else		  {		    if (opterr)		      fprintf (stderr, _("\%s: option `-W %s' doesn't allow an argument\n"),			       argv[0], pfound->name);		    nextchar += strlen (nextchar);		    return '?';		  }	      }	    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 += strlen (nextchar);		    return optstring[0] == ':' ? ':' : '?';		  }	      }	    nextchar += strlen (nextchar);	    if (longind != NULL)	      *longind = option_index;	    if (pfound->flag)	      {		*(pfound->flag) = pfound->val;		return 0;	      }	    return pfound->val;	  }	  nextchar = NULL;	  return 'W';	/* Let the application handle it.   */      }    if (temp[1] == ':')      {	if (temp[2] == ':')	  {	    /* This is an option that accepts an argument optionally.  */	    if (*nextchar != '\0')	      {		optarg = nextchar;		optind++;	      }	    else	      optarg = NULL;	    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)		  {		    /* 1003.2 specifies the format of this message.  */		    fprintf (stderr,			   _("%s: option requires an argument -- %c\n"),			   argv[0], c);		  }		optopt = c;		if (optstring[0] == ':')		  c = ':';		else		  c = '?';	      }	    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);}#endif	/* Not ELIDE_CODE.  */#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 == -1)	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 '?':	  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在线| 国产成人啪免费观看软件| 一本色道久久加勒比精品| 精品国产一区二区三区久久久蜜月| 日本一区二区三区高清不卡| 天天爽夜夜爽夜夜爽精品视频| 成人免费视频视频在线观看免费 | 欧美久久久一区| 国产片一区二区三区| 天堂va蜜桃一区二区三区漫画版| 成人av电影在线播放| 日韩欧美国产综合在线一区二区三区| 亚洲欧美日韩国产手机在线| 国产一级精品在线| 精品国产电影一区二区| 图片区小说区区亚洲影院| 色婷婷综合久久久| 国产精品国产a| 国产91精品在线观看| 2017欧美狠狠色| 久久国产精品区| 日韩欧美视频一区| 日本亚洲最大的色成网站www| 色国产精品一区在线观看| 亚洲欧美一区二区三区孕妇| 懂色一区二区三区免费观看| 久久久亚洲午夜电影| 美女一区二区三区在线观看| 欧美日韩电影一区| 五月天激情综合网| 欧美乱妇15p| 日本伊人精品一区二区三区观看方式| 欧美日韩视频专区在线播放| 午夜精品影院在线观看| 欧美日韩一区成人| 日本美女视频一区二区| 91精品国产91久久久久久最新毛片| 香蕉av福利精品导航| 69成人精品免费视频| 日本麻豆一区二区三区视频| 欧美成人vps| 国产精品综合二区| 自拍偷在线精品自拍偷无码专区| 99久久99久久精品免费看蜜桃| 亚洲天堂av一区| 日本精品一区二区三区高清| 亚洲小少妇裸体bbw| 日韩一区二区在线观看视频| 蜜桃视频在线一区| 久久精品欧美一区二区三区麻豆| 国产精品小仙女| 亚洲乱码国产乱码精品精小说 | 亚洲在线一区二区三区| 欧美日韩一区三区| 日韩电影免费一区| 久久精品夜夜夜夜久久| 色综合天天视频在线观看 | 欧美亚洲综合另类| 久久69国产一区二区蜜臀| 久久视频一区二区| 91日韩在线专区| 日韩av中文字幕一区二区三区| 久久久亚洲午夜电影| 在线精品视频一区二区三四| 亚洲h精品动漫在线观看| 久久久久久9999| 在线观看视频欧美| 国产91富婆露脸刺激对白| 亚洲午夜一二三区视频| 国产蜜臀av在线一区二区三区| 欧美日韩中文国产| 国产成人免费9x9x人网站视频| 亚洲一区视频在线观看视频| 久久精品夜夜夜夜久久| 欧美日韩国产免费一区二区| 成人在线视频首页| 日本在线不卡视频一二三区| 综合分类小说区另类春色亚洲小说欧美 | 老司机免费视频一区二区三区| 国产精品毛片a∨一区二区三区| 欧美男男青年gay1069videost| 国产自产2019最新不卡| 亚洲国产欧美日韩另类综合| 久久久精品国产免费观看同学| 欧美日韩一二三区| 97久久人人超碰| 国产米奇在线777精品观看| 午夜一区二区三区在线观看| 国产精品久久网站| 国产亚洲精品精华液| 日韩欧美黄色影院| 欧美男女性生活在线直播观看| 91丨porny丨国产| 成人激情综合网站| 国产一区二区中文字幕| 免费看日韩精品| 亚洲成人av中文| 亚洲欧美激情在线| 中文字幕一区二区三区四区| 久久精品夜色噜噜亚洲a∨| 欧美va天堂va视频va在线| 欧美日韩五月天| 欧美婷婷六月丁香综合色| 91亚洲精品一区二区乱码| 99久久精品免费看国产| 成人18视频日本| 成人精品国产福利| 成人av网址在线观看| 成人综合在线观看| 岛国精品在线播放| k8久久久一区二区三区| 成人精品视频网站| 99久久精品国产一区二区三区| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 国产欧美日韩另类一区| 99久久99精品久久久久久| 成人黄色软件下载| 99热99精品| 色综合视频在线观看| 欧美三级日韩三级国产三级| 欧美日韩中文精品| 欧美一区二区精品久久911| 日韩一区二区三区四区| 久久综合九色综合97婷婷女人| 久久欧美中文字幕| 亚洲天天做日日做天天谢日日欢 | 成人免费毛片片v| 97精品电影院| 欧美性极品少妇| 日韩欧美国产一区二区在线播放| 日韩精品一区二区三区在线| 久久先锋影音av| 中文字幕一区二区三区蜜月| 一区二区三区av电影| 蜜臀av国产精品久久久久| 国产精品一线二线三线| www.久久精品| 欧美精品久久久久久久久老牛影院| 欧美一区二区在线观看| 国产欧美综合在线观看第十页| 中文字幕第一区二区| 亚洲国产一区二区三区| 麻豆成人91精品二区三区| 成人一区在线看| 在线亚洲+欧美+日本专区| 欧美一卡在线观看| 国产精品护士白丝一区av| 亚洲成人一区二区在线观看| 激情综合网av| 色哟哟日韩精品| 久久―日本道色综合久久| 亚洲精品视频在线看| 免费成人深夜小野草| 成人av片在线观看| 欧美精品精品一区| 国产精品看片你懂得| 青青草国产精品97视觉盛宴| 99久久精品免费看| 精品精品欲导航| 亚洲夂夂婷婷色拍ww47| 国产成人精品免费在线| 欧美福利电影网| 中文字幕亚洲综合久久菠萝蜜| 天堂影院一区二区| 91丨porny丨首页| 久久嫩草精品久久久精品| 日日夜夜精品视频免费| 99久久国产综合色|国产精品| 亚洲精品一区二区三区福利| 亚洲一线二线三线久久久| 成人动漫视频在线| 欧美不卡一二三| 午夜视频在线观看一区| 波多野结衣中文字幕一区| 精品国产sm最大网站免费看| 亚洲一区二区不卡免费| 成人激情动漫在线观看| 精品成人一区二区三区四区| 婷婷国产v国产偷v亚洲高清| 一本到高清视频免费精品| 国产婷婷色一区二区三区四区 | 国产激情精品久久久第一区二区| 欧美精品色综合| 亚洲国产毛片aaaaa无费看| 99久久国产综合精品色伊| 久久久国产午夜精品| 韩国一区二区在线观看| 日韩免费观看高清完整版 | 亚洲女爱视频在线| 99re在线精品| 国产精品国产三级国产aⅴ入口 | 国产蜜臀97一区二区三区| 精品亚洲aⅴ乱码一区二区三区| 欧美三区在线观看| 亚洲成人自拍偷拍| 9191成人精品久久| 麻豆成人久久精品二区三区红 | 欧美撒尿777hd撒尿|