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

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

?? getopt.c

?? ngrep strives to provide most of GNU grep s common features, applying them to the network layer. ngr
?? C
字號:
#include <stdio.h>                  /* for EOF */ 
#include <string.h>                 /* for strchr() */ 

#include <getopt.h> 
 
/* static (global) variables that are specified as exported by getopt() */ 
char *optarg = NULL;    /* pointer to the start of the option argument  */ 
int   optind = 1;       /* number of the next argv[] to be evaluated    */ 
int   opterr = 1;       /* non-zero if a question mark should be returned 
                           when a non-valid option character is detected */

int getopt(int argc, char *argv[], char *opstring) { 
  static char *pIndexPosition = NULL; /* place inside current argv string */ 
  char *pArgString = NULL;        /* where to start from next */ 
  char *pOptString;               /* the string in our program */ 
 
  if (pIndexPosition != NULL) { 
    /* we last left off inside an argv string */ 
    if (*(++pIndexPosition)) { 
      /* there is more to come in the most recent argv */ 
      pArgString = pIndexPosition; 
    } 
  } 
 
  if (pArgString == NULL) { 
    /* we didn't leave off in the middle of an argv string */ 
    if (optind >= argc) { 
      /* more command-line arguments than the argument count */ 
      pIndexPosition = NULL;  /* not in the middle of anything */ 
      return EOF;             /* used up all command-line arguments */ 
    } 
 
    /*--------------------------------------------------------------------- 
     * If the next argv[] is not an option, there can be no more options. 
     *-------------------------------------------------------------------*/ 
    pArgString = argv[optind++]; /* set this to the next argument ptr */ 
 
    if (('/' != *pArgString) && /* doesn't start with a slash or a dash? */ 
	('-' != *pArgString)) { 
      --optind;               /* point to current arg once we're done */ 
      optarg = NULL;          /* no argument follows the option */ 
      pIndexPosition = NULL;  /* not in the middle of anything */ 
      return EOF;             /* used up all the command-line flags */ 
    } 

    /* check for special end-of-flags markers */ 
    if ((strcmp(pArgString, "-") == 0) || 
	(strcmp(pArgString, "--") == 0)) { 
      optarg = NULL;          /* no argument follows the option */ 
      pIndexPosition = NULL;  /* not in the middle of anything */ 
      return EOF;             /* encountered the special flag */ 
    } 
 
    pArgString++;               /* look past the / or - */ 
  } 
 
  if (':' == *pArgString) {       /* is it a colon? */ 
    /*--------------------------------------------------------------------- 
     * Rare case: if opterr is non-zero, return a question mark; 
     * otherwise, just return the colon we're on. 
     *-------------------------------------------------------------------*/ 
    return (opterr ? (int)'?' : (int)':'); 
  } else if ((pOptString = strchr(opstring, *pArgString)) == 0) { 
    /*--------------------------------------------------------------------- 
     * The letter on the command-line wasn't any good. 
     *-------------------------------------------------------------------*/ 
    optarg = NULL;              /* no argument follows the option */ 
    pIndexPosition = NULL;      /* not in the middle of anything */ 
    return (opterr ? (int)'?' : (int)*pArgString); 
  } else { 
    /*--------------------------------------------------------------------- 
     * The letter on the command-line matches one we expect to see 
     *-------------------------------------------------------------------*/ 
    if (':' == _next_char(pOptString)) { /* is the next letter a colon? */ 
      /* It is a colon.  Look for an argument string. */ 
      if ('\0' != _next_char(pArgString))  /* argument in this argv? */ 
	optarg = &pArgString[1];   /* Yes, it is */ 
      else { 
	/*------------------------------------------------------------- 
	 * The argument string must be in the next argv. 
	 * But, what if there is none (bad input from the user)? 
	 * In that case, return the letter, and optarg as NULL. 
	 *-----------------------------------------------------------*/ 
	if (optind < argc) 
	  optarg = argv[optind++]; 
	else { 
	  optarg = NULL; 
	  return (opterr ? (int)'?' : (int)*pArgString); 
	} 
      } 

      pIndexPosition = NULL;  /* not in the middle of anything */ 
    } else { 
      /* it's not a colon, so just return the letter */ 
      optarg = NULL;          /* no argument follows the option */ 
      pIndexPosition = pArgString;    /* point to the letter we're on */ 
    } 
    return (int)*pArgString;    /* return the letter that matched */ 
  } 
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
看片的网站亚洲| 国产精品九色蝌蚪自拍| 91网站在线播放| 日本一区二区视频在线观看| 国产一区二区三区精品欧美日韩一区二区三区 | 欧美制服丝袜第一页| 亚洲色图视频网| 欧美午夜在线一二页| 婷婷六月综合亚洲| 日韩精品中文字幕在线不卡尤物| 久久国产夜色精品鲁鲁99| 久久久综合视频| caoporn国产一区二区| 亚洲综合成人在线| 欧美一卡2卡三卡4卡5免费| 国产一二三精品| 亚洲日本护士毛茸茸| 成人一级视频在线观看| 国产精品免费视频网站| 色乱码一区二区三区88| 强制捆绑调教一区二区| 久久精品视频一区二区| 91免费在线看| 久久精品国产精品青草| 欧美极品另类videosde| 欧美日韩在线一区二区| 久久99国产精品麻豆| **欧美大码日韩| 欧美一级xxx| 99视频热这里只有精品免费| 奇米综合一区二区三区精品视频| 国产日韩欧美制服另类| 欧美三区免费完整视频在线观看| 久久精品国产99| 亚洲男女毛片无遮挡| 欧美成人aa大片| 91久久精品午夜一区二区| 极品尤物av久久免费看| 一区二区在线看| 久久蜜桃av一区二区天堂| 欧美亚男人的天堂| 91精品国产乱| 成人激情文学综合网| 日韩成人一区二区三区在线观看| 国产精品蜜臀av| 欧美一二三在线| 欧洲一区二区三区在线| 国产不卡在线视频| 日本aⅴ精品一区二区三区| 亚洲人精品午夜| 久久精品人人做人人综合 | 日本美女视频一区二区| 国产精品不卡一区| 久久久电影一区二区三区| 91精品国产福利在线观看| 色94色欧美sute亚洲线路一ni| 国产一区二区三区免费观看| 亚洲成人免费视| 亚洲欧美日韩国产手机在线| 日本一区二区综合亚洲| 精品对白一区国产伦| 欧美一区二区视频观看视频| 色综合色狠狠综合色| 成人激情小说乱人伦| 国产麻豆视频精品| 精品一区二区三区在线播放视频| 日韩成人免费在线| 午夜电影一区二区三区| 亚洲精品亚洲人成人网| 成人欧美一区二区三区小说| 亚洲国产精品成人综合| 久久久久久久久久久久久夜| 精品国产免费久久| 日韩一级二级三级| 日韩亚洲欧美在线| 欧美一区二区精品在线| 91精品在线观看入口| 欧美精品黑人性xxxx| 欧美男人的天堂一二区| 欧美精品视频www在线观看| 欧美三级午夜理伦三级中视频| 色成年激情久久综合| 在线中文字幕不卡| 欧美日韩一级大片网址| 欧美日韩aaa| 日韩一区二区三区电影| 精品少妇一区二区三区日产乱码| 亚洲一二三区视频在线观看| 亚洲人成7777| 亚洲男人的天堂av| 亚洲免费在线视频| 亚洲精品第一国产综合野| 一区2区3区在线看| 午夜一区二区三区在线观看| 日韩高清电影一区| 国产在线观看一区二区| 成人激情午夜影院| 欧美在线播放高清精品| 91精品在线麻豆| 国产夜色精品一区二区av| 亚洲国产精品成人综合| 一区二区三区免费观看| 天天综合天天做天天综合| 麻豆成人久久精品二区三区小说| 国产成人综合网| 色婷婷国产精品久久包臀| 91精品国产品国语在线不卡| 亚洲精品在线观看网站| 中文字幕五月欧美| 秋霞影院一区二区| 国产精品亚洲成人| 色妞www精品视频| 欧美一区二区播放| 国产精品免费看片| 亚洲成人精品影院| 国产成人精品午夜视频免费| 日本二三区不卡| 精品日韩99亚洲| 亚洲免费伊人电影| 极品少妇xxxx偷拍精品少妇| 91论坛在线播放| 欧美v日韩v国产v| 亚洲欧美激情在线| 国产综合色在线| 欧美亚洲综合色| 国产色产综合色产在线视频| 亚洲电影在线播放| 国产成人av电影在线| 在线不卡一区二区| 亚洲欧美综合色| 激情综合五月天| 欧美日韩国产片| 亚洲欧洲性图库| 精品一区二区精品| 欧美三电影在线| 成人免费视频一区二区| 免费精品99久久国产综合精品| 国内精品伊人久久久久av一坑| 91农村精品一区二区在线| 精品久久久久久综合日本欧美| 亚洲啪啪综合av一区二区三区| 精品在线播放免费| 欧美日韩视频在线观看一区二区三区| 精品99999| 麻豆精品一区二区综合av| 在线免费观看日本欧美| 久久精品一区二区三区不卡牛牛 | 欧美日韩视频一区二区| 国产精品久久看| 色婷婷综合久久久久中文| 久久久青草青青国产亚洲免观| 首页国产欧美久久| 欧美亚洲一区三区| 亚洲欧美日本韩国| 91在线播放网址| 国产清纯在线一区二区www| 麻豆视频观看网址久久| 日本强好片久久久久久aaa| 99久久99久久精品免费看蜜桃| 久久天堂av综合合色蜜桃网| 免费亚洲电影在线| 欧美精品久久久久久久多人混战| 国产精品超碰97尤物18| 成人黄色国产精品网站大全在线免费观看| 91精品国产麻豆| 免费看精品久久片| 日韩欧美一级二级| 久久国产精品免费| 欧美电影免费观看高清完整版| 蜜臀国产一区二区三区在线播放| 这里只有精品99re| 日本最新不卡在线| 欧美成人在线直播| 国产老女人精品毛片久久| 久久先锋影音av鲁色资源网| 国产精品自在在线| 国产精品青草久久| 一本久久a久久免费精品不卡| 亚洲欧美日韩在线| 在线视频观看一区| 亚洲18女电影在线观看| 欧美一级欧美三级| 狠狠色丁香婷综合久久| 国产午夜精品久久久久久免费视| 懂色av一区二区在线播放| 欧美理论片在线| 日韩av电影天堂| 欧美日韩的一区二区| 视频一区中文字幕国产| 欧美成人a∨高清免费观看| 精品一区二区免费| 国产精品美女久久久久久久久 | 人人爽香蕉精品| 精品国产一区二区国模嫣然| 国产大陆a不卡| 亚洲精品国产视频| 91精品福利在线一区二区三区| 老司机精品视频导航| 中文一区在线播放| 欧美性猛片aaaaaaa做受|