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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? ttyio.c

?? zip壓縮
?? C
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
    struct winsize wsz;#ifdef DEBUG_WINSZ    static int firsttime = TRUE;#endif    /* see termio(4) under, e.g., SunOS */    if (ioctl(1, TIOCGWINSZ, &wsz) == 0) {#ifdef DEBUG_WINSZ        if (firsttime) {            firsttime = FALSE;            fprintf(stderr, "ttyio.c screensize():  ws_row = %d\n",              wsz.ws_row);            fprintf(stderr, "ttyio.c screensize():  ws_col = %d\n",              wsz.ws_col);        }#endif        /* number of rows */        if (tt_rows != NULL)            *tt_rows = (int)((wsz.ws_row > 0) ? wsz.ws_row : 24);        /* number of columns */        if (tt_cols != NULL)            *tt_cols = (int)((wsz.ws_col > 0) ? wsz.ws_col : 80);        return 0;    /* signal success */    } else {         /* this happens when piping to more(1), for example */#ifdef DEBUG_WINSZ        if (firsttime) {            firsttime = FALSE;            fprintf(stderr,              "ttyio.c screensize():  ioctl(TIOCGWINSZ) failed\n"));        }#endif        /* VT-100 assumed to be minimal hardware */        if (tt_rows != NULL)            *tt_rows = 24;        if (tt_cols != NULL)            *tt_cols = 80;        return 1;       /* signal failure */    }}#else /* !TIOCGWINSZ: service not available, fall back to semi-bogus method */int screensize(tt_rows, tt_cols)    int *tt_rows;    int *tt_cols;{    char *envptr, *getenv();    int n;    int errstat = 0;    /* GRR:  this is overly simplistic, but don't have access to stty/gtty     * system anymore     */    if (tt_rows != NULL) {        envptr = getenv("LINES");        if (envptr == (char *)NULL || (n = atoi(envptr)) < 5) {            /* VT-100 assumed to be minimal hardware */            *tt_rows = 24;            errstat = 1;    /* signal failure */        } else {            *tt_rows = n;        }    }    if (tt_cols != NULL) {        envptr = getenv("COLUMNS");        if (envptr == (char *)NULL || (n = atoi(envptr)) < 5) {            *tt_cols = 80;            errstat = 1;    /* signal failure */        } else {            *tt_cols = n;        }    }    return errstat;}#endif /* ?(TIOCGWINSZ && !M_UNIX) */#endif /* MORE *//* * Get a character from the given file descriptor without echo or newline. */int zgetch(__G__ f)    __GDEF    int f;                      /* file descriptor from which to read */{#if (defined(USE_SYSV_TERMIO) || defined(USE_POSIX_TERMIOS))    char oldmin, oldtim;#endif    char c;    struct sgttyb sg;           /* tty device structure */    GTTY(f, &sg);               /* get settings */#if (defined(USE_SYSV_TERMIO) || defined(USE_POSIX_TERMIOS))    oldmin = sg.c_cc[VMIN];     /* save old values */    oldtim = sg.c_cc[VTIME];    sg.c_cc[VMIN] = 1;          /* need only one char to return read() */    sg.c_cc[VTIME] = 0;         /* no timeout */    sg.sg_flags &= ~ICANON;     /* canonical mode off */#else    sg.sg_flags |= CBREAK;      /* cbreak mode on */#endif    sg.sg_flags &= ~ECHO;       /* turn echo off, too */    STTY(f, &sg);               /* set cbreak mode */    GLOBAL(echofd) = f;         /* in case ^C hit (not perfect: still CBREAK) */    read(f, &c, 1);             /* read our character */#if (defined(USE_SYSV_TERMIO) || defined(USE_POSIX_TERMIOS))    sg.c_cc[VMIN] = oldmin;     /* restore old values */    sg.c_cc[VTIME] = oldtim;    sg.sg_flags |= ICANON;      /* canonical mode on */#else    sg.sg_flags &= ~CBREAK;     /* cbreak mode off */#endif    sg.sg_flags |= ECHO;        /* turn echo on */    STTY(f, &sg);               /* restore canonical mode */    GLOBAL(echofd) = -1;    return (int)(uch)c;}#else /* !UNIX && !__BEOS__ */#ifndef VMS     /* VMS supplies its own variant of getch() */int zgetch(__G__ f)    __GDEF    int f;    /* file descriptor from which to read (must be open already) */{    char c, c2;/*---------------------------------------------------------------------------    Get a character from the given file descriptor without echo; can't fake    CBREAK mode (i.e., newline required), but can get rid of all chars up to    and including newline.  ---------------------------------------------------------------------------*/    echoff(f);    read(f, &c, 1);    if (c != '\n')        do {            read(f, &c2, 1);   /* throw away all other chars up thru newline */        } while (c2 != '\n');    echon();    return (int)c;}#endif /* !VMS */#endif /* ?(UNIX || __BEOS__) */#endif /* UNZIP && !FUNZIP */#endif /* !HAVE_WORKING_GETCH */#if CRYPT                       /* getp() is only used with full encryption *//* * Simple compile-time check for source compatibility between * zcrypt and ttyio: */#if (!defined(CR_MAJORVER) || (CR_MAJORVER < 2) || (CR_MINORVER < 7))   error:  This Info-ZIP tool requires zcrypt 2.7 or later.#endif/* * Get a password of length n-1 or less into *p using the prompt *m. * The entered password is not echoed. */#ifdef HAVE_WORKING_GETCH/* * For the AMIGA, getch() is defined as Agetch(), which is in * amiga/filedate.c; SAS/C 6.x provides a getch(), but since Agetch() * uses the infrastructure that is already in place in filedate.c, it is * smaller.  With this function, echoff() and echon() are not needed. * * For the MAC, a non-echo macgetch() function is defined in the MacOS * specific sources which uses the event handling mechanism of the * desktop window manager to get a character from the keyboard. * * For the other systems in this section, a non-echo getch() function * is either contained the C runtime library (conio package), or getch() * is defined as an alias for a similar system specific RTL function. */#ifndef WINDLL   /* WINDLL does not support a console interface */#ifndef QDOS     /* QDOS supplies a variant of this function *//* This is the getp() function for all systems (with TTY type user interface) * that supply a working `non-echo' getch() function for "raw" console input. */char *getp(__G__ m, p, n)    __GDEF    ZCONST char *m;             /* prompt for password */    char *p;                    /* return value: line input */    int n;                      /* bytes available in p[] */{    char c;                     /* one-byte buffer for read() to use */    int i;                      /* number of characters input */    char *w;                    /* warning on retry */    /* get password */    w = "";    do {        fputs(w, stderr);       /* warning if back again */        fputs(m, stderr);       /* display prompt and flush */        fflush(stderr);        i = 0;        do {                    /* read line, keeping first n characters */            if ((c = (char)getch()) == '\r')                c = '\n';       /* until user hits CR */            if (c == 8 || c == 127) {                if (i > 0) i--; /* the `backspace' and `del' keys works */            }            else if (i < n)                p[i++] = c;     /* truncate past n */        } while (c != '\n');        PUTC('\n', stderr);  fflush(stderr);        w = "(line too long--try again)\n";    } while (p[i-1] != '\n');    p[i-1] = 0;                 /* terminate at newline */    return p;                   /* return pointer to password */} /* end function getp() */#endif /* !QDOS */#endif /* !WINDLL */#else /* !HAVE_WORKING_GETCH */#if (defined(UNIX) || defined(__MINT__) || defined(__BEOS__))#ifndef _PATH_TTY#  ifdef __MINT__#    define _PATH_TTY ttyname(2)#  else#    define _PATH_TTY "/dev/tty"#  endif#endifchar *getp(__G__ m, p, n)    __GDEF    ZCONST char *m;             /* prompt for password */    char *p;                    /* return value: line input */    int n;                      /* bytes available in p[] */{    char c;                     /* one-byte buffer for read() to use */    int i;                      /* number of characters input */    char *w;                    /* warning on retry */    int f;                      /* file descriptor for tty device */#ifdef PASSWD_FROM_STDIN    /* Read from stdin. This is unsafe if the password is stored on disk. */    f = 0;#else    /* turn off echo on tty */    if ((f = open(_PATH_TTY, 0)) == -1)        return NULL;#endif    /* get password */    w = "";    do {        fputs(w, stderr);       /* warning if back again */        fputs(m, stderr);       /* prompt */        fflush(stderr);        i = 0;        echoff(f);        do {                    /* read line, keeping n */            read(f, &c, 1);            if (i < n)                p[i++] = c;        } while (c != '\n');        echon();        PUTC('\n', stderr);  fflush(stderr);        w = "(line too long--try again)\n";    } while (p[i-1] != '\n');    p[i-1] = 0;                 /* terminate at newline */#ifndef PASSWD_FROM_STDIN    close(f);#endif    return p;                   /* return pointer to password */} /* end function getp() */#endif /* UNIX || __MINT__ || __BEOS__ */#if (defined(VMS) || defined(CMS_MVS))char *getp(__G__ m, p, n)    __GDEF    ZCONST char *m;             /* prompt for password */    char *p;                    /* return value: line input */    int n;                      /* bytes available in p[] */{    char c;                     /* one-byte buffer for read() to use */    int i;                      /* number of characters input */    char *w;                    /* warning on retry */    FILE *f;                    /* file structure for SYS$COMMAND device */#ifdef PASSWD_FROM_STDIN    f = stdin;#else    if ((f = fopen(ctermid(NULL), "r")) == NULL)        return NULL;#endif    /* get password */    fflush(stdout);    w = "";    do {        if (*w)                 /* bug: VMS apparently adds \n to NULL fputs */            fputs(w, stderr);   /* warning if back again */        fputs(m, stderr);       /* prompt */        fflush(stderr);        i = 0;        echoff(f);        do {                    /* read line, keeping n */            if ((c = (char)getc(f)) == '\r')                c = '\n';            if (i < n)                p[i++] = c;        } while (c != '\n');        echon();        PUTC('\n', stderr);  fflush(stderr);        w = "(line too long--try again)\n";    } while (p[i-1] != '\n');    p[i-1] = 0;                 /* terminate at newline */#ifndef PASSWD_FROM_STDIN    fclose(f);#endif    return p;                   /* return pointer to password */} /* end function getp() */#endif /* VMS || CMS_MVS */#endif /* ?HAVE_WORKING_GETCH */#endif /* CRYPT */#endif /* CRYPT || (UNZIP && !FUNZIP) */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久伊99综合婷婷久久伊| 午夜电影网亚洲视频| 国产网站一区二区| 精品福利一区二区三区免费视频| 在线看日本不卡| 在线亚洲高清视频| 欧美日韩中文另类| 欧美国产视频在线| 国产日产欧产精品推荐色| 国产欧美日韩另类视频免费观看| 久久嫩草精品久久久精品| 精品福利av导航| 久久日韩精品一区二区五区| 精品奇米国产一区二区三区| 精品国产乱码久久久久久1区2区| 亚洲精品在线三区| 久久免费的精品国产v∧| 国产午夜精品一区二区三区四区| 国产精品久久久久久久久动漫| 最新欧美精品一区二区三区| 亚洲精品视频在线| 亚洲国产精品麻豆| 毛片一区二区三区| 国产成人综合在线| 日本韩国一区二区三区| 88在线观看91蜜桃国自产| 日韩欧美国产一区二区三区| 日本一区二区免费在线| 亚洲摸摸操操av| 日韩一区精品视频| 国产传媒久久文化传媒| 色悠悠久久综合| 在线综合视频播放| 精品久久久久久久久久久久包黑料| 久久综合色鬼综合色| 中文字幕一区二区三| 偷窥少妇高潮呻吟av久久免费 | 国产经典欧美精品| 色八戒一区二区三区| 在线观看视频一区二区欧美日韩| 欧洲av在线精品| 欧美日韩dvd在线观看| 欧美电影免费观看高清完整版在 | 色综合视频在线观看| 欧美日韩一级二级三级| 久久综合久色欧美综合狠狠| 国产精品成人免费在线| 首页欧美精品中文字幕| 国产成人精品影视| 欧美日韩mp4| 日韩电影在线一区二区三区| 激情综合色播激情啊| 91视频xxxx| 精品免费国产一区二区三区四区| 国产精品欧美久久久久无广告| 亚洲成人1区2区| 懂色av一区二区三区蜜臀| 精品视频一区二区三区免费| 久久久久久久电影| 亚洲成国产人片在线观看| 国产精品18久久久久久久网站| 在线免费不卡视频| 国产精品污www在线观看| 亚洲国产精品人人做人人爽| 国产精品一区二区在线播放| 欧美日韩美少妇| 中文字幕佐山爱一区二区免费| 美女看a上一区| 色婷婷精品久久二区二区蜜臀av| 久久香蕉国产线看观看99| 午夜精品久久一牛影视| 91老师片黄在线观看| 久久久精品综合| 午夜电影久久久| 色婷婷一区二区三区四区| 欧美国产精品久久| 精品一区免费av| 337p亚洲精品色噜噜噜| 亚洲精品亚洲人成人网在线播放| 成人性视频网站| 欧美精品一区二区三区蜜臀| 丝袜美腿高跟呻吟高潮一区| 欧美主播一区二区三区美女| 国产精品久久影院| 国产黄色精品网站| 精品国产99国产精品| 日本成人在线看| 欧美另类videos死尸| 亚洲综合一区二区| 92精品国产成人观看免费| 国产欧美一区二区精品性色| 久久99精品国产.久久久久| 欧美喷水一区二区| 亚洲成人1区2区| 欧美这里有精品| 亚洲一区二区在线免费看| 欧美中文字幕一区二区三区| 亚洲色欲色欲www| 国产91精品一区二区麻豆亚洲| 欧美成人国产一区二区| 美国十次综合导航| 精品欧美一区二区在线观看| 久久精品噜噜噜成人88aⅴ| 欧美v日韩v国产v| 久草热8精品视频在线观看| 欧美mv日韩mv| 国产尤物一区二区在线 | 丝袜美腿一区二区三区| 欧美色精品在线视频| 亚洲成人av在线电影| 国产精品三级av| 成人高清伦理免费影院在线观看| 中日韩免费视频中文字幕| 高清不卡在线观看| 国产精品传媒视频| 91网页版在线| 亚洲一区二区成人在线观看| 欧美日韩在线一区二区| 日本一不卡视频| 久久综合色天天久久综合图片| 国产成人免费视| 国产精品美女久久久久aⅴ| 97精品国产露脸对白| 亚洲愉拍自拍另类高清精品| 欧美日韩视频在线观看一区二区三区 | 国产精品久久久久久久午夜片| 91年精品国产| 亚洲国产裸拍裸体视频在线观看乱了| 在线观看免费亚洲| 蜜桃精品视频在线观看| 国产亚洲制服色| 99国产精品99久久久久久| 亚洲自拍偷拍网站| 日韩精品中文字幕一区二区三区| 国产成人综合亚洲网站| 亚洲品质自拍视频网站| 8x8x8国产精品| 国产精品99久久久久久久vr | 懂色av中文一区二区三区 | 色婷婷激情综合| 日日噜噜夜夜狠狠视频欧美人| 欧美本精品男人aⅴ天堂| 成年人国产精品| 日韩国产欧美在线播放| 国产偷国产偷亚洲高清人白洁| 一道本成人在线| 精品一区二区三区免费毛片爱 | 亚洲在线视频免费观看| 欧美videofree性高清杂交| 国产不卡一区视频| 亚洲成人一二三| 中文天堂在线一区| 欧美精品亚洲一区二区在线播放| 国产精品伊人色| 亚洲一区二区三区自拍| 久久久不卡影院| 欧美日韩国产另类不卡| 国产成人高清在线| 午夜精品久久久久久久久久| 欧美韩日一区二区三区四区| 91精品国产综合久久福利软件| 日韩欧美中文一区二区| 处破女av一区二区| 免费人成网站在线观看欧美高清| 中文字幕免费一区| 欧美成人女星排行榜| 欧美综合久久久| 懂色av一区二区三区蜜臀| 免费av成人在线| 亚洲一区免费在线观看| 国产精品无圣光一区二区| 日韩欧美国产1| 91黄色免费看| 粉嫩绯色av一区二区在线观看| 奇米影视一区二区三区| 一区二区三区日韩精品| 国产婷婷色一区二区三区| 欧美一区二区网站| 欧美在线免费观看视频| 成人免费黄色在线| 极品美女销魂一区二区三区| 秋霞午夜鲁丝一区二区老狼| 一区二区三区不卡视频| 亚洲欧洲av在线| 国产欧美精品一区二区三区四区| 欧美成人精精品一区二区频| 欧美日韩成人一区二区| 色综合久久88色综合天天 | 精品国产免费久久| 正在播放一区二区| 色噜噜偷拍精品综合在线| 成人黄色a**站在线观看| 国产一区二区看久久| 久久精品国产精品亚洲综合| 天堂精品中文字幕在线| 舔着乳尖日韩一区| 亚洲成人av免费| 五月综合激情网| 五月天国产精品| 日韩国产一二三区|