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

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

?? getopt.c

?? hello everybody. good lucky to you
?? C
字號:
/*
	Copyright (c) 1986,1991 by Borland International Inc.
	All Rights Reserved.
*/
 
#include <errno.h>
#include <string.h>
#include <dos.h>
#include <stdio.h>
 
int	optind	= 1;	/* index of which argument is next	*/
char   *optarg;		/* pointer to argument of current option */
int	opterr	= 1;	/* allow error message	*/
 
static	char   *letP = NULL;	/* remember next option char's location */
static	char	SW = 0;		/* DOS switch character, either '-' or '/' */

/*
  Parse the command line options, System V style.
 
  Standard option syntax is:
 
    option ::= SW [optLetter]* [argLetter space* argument]
 
  where
    - SW is either '/' or '-', according to the current setting
      of the MSDOS switchar (int 21h function 37h).
    - there is no space before any optLetter or argLetter.
    - opt/arg letters are alphabetic, not punctuation characters.
    - optLetters, if present, must be matched in optionS.
    - argLetters, if present, are found in optionS followed by ':'.
    - argument is any white-space delimited string.  Note that it
      can include the SW character.
    - upper and lower case letters are distinct.
 
  There may be multiple option clusters on a command line, each
  beginning with a SW, but all must appear before any non-option
  arguments (arguments not introduced by SW).  Opt/arg letters may
  be repeated: it is up to the caller to decide if that is an error.
 
  The character SW appearing alone as the last argument is an error.
  The lead-in sequence SWSW ("--" or "//") causes itself and all the
  rest of the line to be ignored (allowing non-options which begin
  with the switch char).

  The string *optionS allows valid opt/arg letters to be recognized.
  argLetters are followed with ':'.  Getopt () returns the value of
  the option character found, or EOF if no more options are in the
  command line.	 If option is an argLetter then the global optarg is
  set to point to the argument string (having skipped any white-space).
 
  The global optind is initially 1 and is always left as the index
  of the next argument of argv[] which getopt has not taken.  Note
  that if "--" or "//" are used then optind is stepped to the next
  argument before getopt() returns EOF.
 
  If an error occurs, that is an SW char precedes an unknown letter,
  then getopt() will return a '?' character and normally prints an
  error message via perror().  If the global variable opterr is set
  to false (zero) before calling getopt() then the error message is
  not printed.
 
  For example, if the MSDOS switch char is '/' (the MSDOS norm) and
 
    *optionS == "A:F:PuU:wXZ:"
 
  then 'P', 'u', 'w', and 'X' are option letters and 'F', 'U', 'Z'
  are followed by arguments.  A valid command line may be:
 
    aCommand  /uPFPi /X /A L someFile
 
  where:
    - 'u' and 'P' will be returned as isolated option letters.
    - 'F' will return with "Pi" as its argument string.
    - 'X' is an isolated option.
    - 'A' will return with "L" as its argument.
    - "someFile" is not an option, and terminates getOpt.  The
      caller may collect remaining arguments using argv pointers.
*/

int	getopt(int argc, char *argv[], char *optionS)
{
	unsigned char ch;
	char *optP;
 
	if (SW == 0) {
		/* get SW using dos call 0x37 */
		_AX = 0x3700;
		geninterrupt(0x21);
		SW = _DL;
	}
 
	if (argc > optind) {
		if (letP == NULL) {
			if ((letP = argv[optind]) == NULL || 
				*(letP++) != SW)  goto gopEOF;
			if (*letP == SW) {
				optind++;  goto gopEOF;
			}
		}
		if (0 == (ch = *(letP++))) {
			optind++;  goto gopEOF;
		}
		if (':' == ch  ||  (optP = strchr(optionS, ch)) == NULL)  
			goto gopError;
		if (':' == *(++optP)) {
			optind++;
			if (0 == *letP) {
				if (argc <= optind)  goto  gopError;
				letP = argv[optind++];
			}
			optarg = letP;
			letP = NULL;
		} else {
			if (0 == *letP) {
				optind++;
				letP = NULL;
			}
			optarg = NULL;
		}
		return ch;
	}
gopEOF:
	optarg = letP = NULL;  
	return EOF;
 
gopError:
	optarg = NULL;
	errno  = EINVAL;
	if (opterr)
		perror ("get command line option");
	return ('?');
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一级二级在线| 久久综合av免费| 亚洲精品国产无天堂网2021| 99综合影院在线| 亚洲黄色免费网站| 欧美日本一道本| 理论片日本一区| 久久精品亚洲国产奇米99| 国产精品综合在线视频| 国产精品麻豆99久久久久久| 91老司机福利 在线| 亚洲va中文字幕| 久久久精品天堂| av高清久久久| 日韩在线一区二区三区| 久久久久成人黄色影片| 99久久精品费精品国产一区二区| 一区二区三区日韩| 欧美一区二区三区公司| 大桥未久av一区二区三区中文| 国产精品久久久久久久久果冻传媒| 色噜噜狠狠色综合欧洲selulu| 婷婷国产在线综合| 久久久亚洲精品一区二区三区| 91色乱码一区二区三区| 久久精品免费看| 国产精品高清亚洲| 91精品国产免费| www.久久精品| 麻豆91精品视频| 亚洲男女一区二区三区| 欧美一区三区四区| aaa欧美色吧激情视频| 日韩一区欧美二区| 亚洲欧洲日韩女同| 2020国产精品久久精品美国| 色哟哟一区二区| 国产黄色精品网站| 日韩电影一区二区三区四区| 国产精品高清亚洲| 久久综合久久综合九色| 欧美在线观看一区| 9色porny自拍视频一区二区| 久久国产精品区| 亚洲一区在线视频观看| 国产精品天美传媒| 日韩精品专区在线影院观看| 91福利国产精品| 国产成人免费9x9x人网站视频| 肉肉av福利一精品导航| 有坂深雪av一区二区精品| 国产精品网站在线| 久久久99精品免费观看不卡| 欧美一区二区三区婷婷月色| 在线观看视频欧美| 99r精品视频| 国产精品亚洲午夜一区二区三区| 美女爽到高潮91| 午夜在线成人av| 亚洲一区二区三区四区五区黄| 成人欧美一区二区三区视频网页| 久久久亚洲精华液精华液精华液 | 亚洲一区二区三区自拍| 久久精品男人天堂av| 精品久久久久久无| 欧美大片在线观看一区二区| 91 com成人网| 欧美日韩国产综合草草| 欧美午夜片在线看| 欧美亚洲国产怡红院影院| 色综合久久天天| 97精品久久久久中文字幕 | 91麻豆精品视频| 成人h版在线观看| 大陆成人av片| www.欧美色图| 色偷偷久久一区二区三区| av资源站一区| 色老汉一区二区三区| 91九色02白丝porn| 欧美视频一区二| 4438x亚洲最大成人网| 欧美一区二区久久| 日韩午夜电影av| www精品美女久久久tv| 国产亚洲一区二区三区| 国产精品激情偷乱一区二区∴| 国产精品麻豆欧美日韩ww| 国产精品的网站| 亚洲九九爱视频| 亚洲h动漫在线| 久久99精品视频| 国产99久久久国产精品潘金| 成人av网在线| 欧美色大人视频| 精品黑人一区二区三区久久 | 亚洲国产精品久久久久婷婷884| 一区二区成人在线| 日韩福利视频导航| 国产精品一二二区| 91香蕉视频污| 欧美一级视频精品观看| 久久先锋影音av鲁色资源| 国产精品家庭影院| 午夜亚洲国产au精品一区二区| 麻豆精品视频在线| 暴力调教一区二区三区| 欧美日韩精品一区二区三区蜜桃| 欧美白人最猛性xxxxx69交| 亚洲国产精品成人久久综合一区 | 日韩欧美国产综合| 国产精品你懂的在线欣赏| 一区二区三区.www| 精品一区二区综合| 91麻豆蜜桃一区二区三区| 欧美一区二区三区视频免费| 日本一区二区电影| 青青草国产成人99久久| 不卡欧美aaaaa| 日韩视频一区二区三区在线播放 | 亚洲欧洲色图综合| 美女视频一区在线观看| 国产jizzjizz一区二区| 欧美丰满少妇xxxxx高潮对白| 国产丝袜欧美中文另类| 亚洲国产sm捆绑调教视频| 国产精品一区二区在线播放| 欧美日本韩国一区二区三区视频 | 精品国产免费一区二区三区四区| 中文字幕中文在线不卡住| 免费成人av资源网| 在线免费观看日本欧美| 国产欧美日韩久久| 蜜桃免费网站一区二区三区| 欧美伊人精品成人久久综合97| 国产偷v国产偷v亚洲高清| 蜜桃av一区二区三区电影| 在线中文字幕不卡| 亚洲色图色小说| 国产一区二区三区在线观看精品 | 精品国产自在久精品国产| 亚洲国产毛片aaaaa无费看| 波多野结衣在线aⅴ中文字幕不卡| 欧美一级高清片| 午夜视频久久久久久| 日本韩国精品在线| 中文字幕在线一区| 国产精一品亚洲二区在线视频| 日韩午夜激情av| 日韩成人dvd| 欧美吞精做爰啪啪高潮| 自拍av一区二区三区| 国产一区二区三区香蕉| 欧美精品一区二区高清在线观看| 日韩专区中文字幕一区二区| 欧美天堂一区二区三区| 亚洲黄网站在线观看| 91老司机福利 在线| 亚洲欧美一区二区在线观看| 粉嫩蜜臀av国产精品网站| 久久免费视频一区| 国产盗摄精品一区二区三区在线 | 国产精品久久久久久久久免费桃花| 国产一区视频网站| 国产校园另类小说区| 国产高清精品在线| 国产午夜三级一区二区三| 国产激情精品久久久第一区二区| 久久久国产精华| 国产成人av自拍| 国产精品欧美经典| 99re66热这里只有精品3直播| 亚洲欧洲精品一区二区三区不卡 | 欧美日韩精品系列| 肉色丝袜一区二区| 日韩欧美黄色影院| 国产一区不卡在线| 中文一区在线播放| 91网站在线播放| 亚洲第一av色| 91精品国产色综合久久不卡电影| 免费观看在线色综合| 欧美va日韩va| 成人午夜视频在线观看| 亚洲美女一区二区三区| 欧美精品一二三| 狠狠色2019综合网| 国产精品久久久久7777按摩| 色狠狠一区二区| 欧美a一区二区| 中文字幕电影一区| 欧美色窝79yyyycom| 日本欧美久久久久免费播放网| 精品国产伦一区二区三区观看体验 | 国产欧美日韩在线观看| 91蜜桃传媒精品久久久一区二区| 亚洲一区在线视频观看| 亚洲精品在线免费播放| 成人黄色片在线观看| 亚洲一区二区三区小说|