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

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

?? setbuf.c

?? ncurses-5.4 需要的就來下把 一定會有用的哦
?? C
字號:
/**************************************************************************** * Copyright (c) 1998-2000,2003 Free Software Foundation, Inc.              * *                                                                          * * Permission is hereby granted, free of charge, to any person obtaining a  * * copy of this software and associated documentation files (the            * * "Software"), to deal in the Software without restriction, including      * * without limitation the rights to use, copy, modify, merge, publish,      * * distribute, distribute with modifications, sublicense, and/or sell       * * copies of the Software, and to permit persons to whom the Software is    * * furnished to do so, subject to the following conditions:                 * *                                                                          * * The above copyright notice and this permission notice shall be included  * * in all copies or substantial portions of the Software.                   * *                                                                          * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    * * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               * *                                                                          * * Except as contained in this notice, the name(s) of the above copyright   * * holders shall not be used in advertising or otherwise to promote the     * * sale, use or other dealings in this Software without prior written       * * authorization.                                                           * ****************************************************************************//**************************************************************************** *  Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995               * *     and: Eric S. Raymond <esr@snark.thyrsus.com>                         * ****************************************************************************//***	setbuf.c****	Support for set_term(), reset_shell_mode(), reset_prog_mode().***/#include <curses.priv.h>MODULE_ID("$Id: setbuf.c,v 1.12 2003/11/15 23:55:34 tom Exp $")/* * If the output file descriptor is connected to a tty (the typical case) it * will probably be line-buffered.  Keith Bostic pointed out that we don't want * this; it hoses people running over networks by forcing out a bunch of small * packets instead of one big one, so screen updates on ptys look jerky. * Restore block buffering to prevent this minor lossage. * * The buffer size is a compromise.  Ideally we'd like a buffer that can hold * the maximum possible update size (the whole screen plus cup commands to * change lines as it's painted).  On a 66-line xterm this can become * excessive.  So we min it with the amount of data we think we can get through * two Ethernet packets (maximum packet size - 100 for TCP/IP overhead). * * Why two ethernet packets?  It used to be one, on the theory that said * packets define the maximum size of atomic update.  But that's less than the * 2000 chars on a 25 x 80 screen, and we don't want local updates to flicker * either.  Two packet lengths will handle up to a 35 x 80 screen. * * The magic '6' is the estimated length of the end-of-line cup sequence to go * to the next line.  It's generous.  We used to mess with the buffering in * init_mvcur() after cost computation, but that lost the sequences emitted by * init_acs() in setupscreen(). * * "The setvbuf function may be used only after the stream pointed to by stream * has been associated with an open file and before any other operation is * performed on the stream." (ISO 7.9.5.6.) * * Grrrr... * * On a lighter note, many implementations do in fact allow an application to * reset the buffering after it has been written to.  We try to do this because * otherwise we leave stdout in buffered mode after endwin() is called.  (This * also happens with SVr4 curses). * * There are pros/cons: * * con: *	There is no guarantee that we can reestablish buffering once we've *	dropped it. * *	We _may_ lose data if the implementation does not coordinate this with *	fflush. * * pro: *	An implementation is more likely to refuse to change the buffering than *	to do it in one of the ways mentioned above. * *	The alternative is to have the application try to change buffering *	itself, which is certainly no improvement. * * Just in case it does not work well on a particular system, the calls to * change buffering are all via the macro NC_BUFFERED.  Some implementations * do indeed get confused by changing setbuf on/off, and will overrun the * buffer.  So we disable this by default (there may yet be a workaround). */NCURSES_EXPORT(void)_nc_set_buffer(FILE *ofp, bool buffered){    /* optional optimization hack -- do before any output to ofp */#if HAVE_SETVBUF || HAVE_SETBUFFER    if (SP->_buffered != (int)buffered) {	unsigned buf_len;	char *buf_ptr;	if (getenv("NCURSES_NO_SETBUF") != 0)	    return;	fflush(ofp);#ifdef __DJGPP__	setmode(ofp, O_BINARY);#endif	if (buffered != 0) {	    buf_len = min(LINES * (COLS + 6), 2800);	    if ((buf_ptr = SP->_setbuf) == 0) {		if ((buf_ptr = typeMalloc(char, buf_len)) == NULL)		      return;		SP->_setbuf = buf_ptr;		/* Don't try to free this! */	    }#if !USE_SETBUF_0	    else		return;#endif	} else {#if !USE_SETBUF_0	    return;#else	    buf_len = 0;	    buf_ptr = 0;#endif	}#if HAVE_SETVBUF#ifdef SETVBUF_REVERSED		/* pre-svr3? */	(void) setvbuf(ofp, buf_ptr, buf_len, buf_len ? _IOFBF : _IOLBF);#else	(void) setvbuf(ofp, buf_ptr, buf_len ? _IOFBF : _IOLBF, buf_len);#endif#elif HAVE_SETBUFFER	(void) setbuffer(ofp, buf_ptr, (int) buf_len);#endif	SP->_buffered = buffered;    }#endif /* HAVE_SETVBUF || HAVE_SETBUFFER */}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91理论电影在线观看| 日本最新不卡在线| 91免费版在线| 亚洲人快播电影网| 在线影院国内精品| 三级久久三级久久| 日韩精品一区二区三区视频播放 | 亚洲午夜精品在线| 色吧成人激情小说| 免费在线看一区| 久久一二三国产| 99re视频精品| 五月天精品一区二区三区| 日韩免费观看高清完整版 | 欧美日韩精品免费| 久久成人综合网| 国产精品理伦片| 欧美吻胸吃奶大尺度电影| 石原莉奈在线亚洲三区| 久久久久久亚洲综合影院红桃 | 国产资源精品在线观看| 国产精品欧美久久久久一区二区| 色综合久久久久综合| 奇米精品一区二区三区在线观看| 精品国偷自产国产一区| av一区二区三区黑人| 人人狠狠综合久久亚洲| 中文字幕一区二区日韩精品绯色| 欧美男男青年gay1069videost | 91麻豆免费看| 麻豆精品精品国产自在97香蕉| 国产精品视频九色porn| 欧美日韩一级二级三级| 从欧美一区二区三区| 亚洲国产美国国产综合一区二区| 久久久久久影视| 欧美久久高跟鞋激| 不卡视频在线观看| 狠狠久久亚洲欧美| 亚洲最新在线观看| 国产欧美一区二区精品仙草咪| 欧美日韩午夜在线视频| 成人激情电影免费在线观看| 久久超碰97人人做人人爱| 亚洲一区二区四区蜜桃| 日本一区二区成人| 久久久亚洲精华液精华液精华液| 欧美日韩大陆在线| 91福利小视频| 成人国产免费视频| 国产麻豆精品在线| 捆绑变态av一区二区三区| 亚洲国产视频一区二区| 中文字幕字幕中文在线中不卡视频| 26uuu国产日韩综合| 91精品国产免费| 欧美视频精品在线观看| 色哟哟一区二区在线观看| av在线综合网| av午夜一区麻豆| 成人av资源站| 成人的网站免费观看| 国产一区二区女| 国内外成人在线| 极品少妇xxxx偷拍精品少妇| 男女激情视频一区| 免费日本视频一区| 免费在线观看精品| 日韩av一区二区三区四区| 婷婷国产v国产偷v亚洲高清| 亚洲成人资源在线| 亚洲va国产天堂va久久en| 亚洲va欧美va人人爽| 午夜伊人狠狠久久| 天天综合色天天综合| 婷婷开心激情综合| 奇米精品一区二区三区在线观看| 日本91福利区| 国产在线精品一区二区不卡了| 六月丁香婷婷久久| 精品一区二区在线免费观看| 麻豆精品一区二区三区| 精品亚洲欧美一区| 岛国精品在线观看| 国产高清精品网站| 成人av在线影院| 色综合久久久久综合体| 欧美色区777第一页| 欧美日韩精品一区二区在线播放| 制服丝袜日韩国产| 欧美大白屁股肥臀xxxxxx| 欧美tk丨vk视频| 久久久99精品免费观看| 2024国产精品| 中文字幕在线一区| 亚洲最新视频在线观看| 日本成人在线网站| 国产精品一区二区久久精品爱涩| 国产aⅴ综合色| 色欧美日韩亚洲| 欧美一卡二卡在线| 日本一区二区三区四区在线视频| 国产精品成人一区二区艾草| 亚洲成人动漫在线免费观看| 亚洲不卡av一区二区三区| 国产一区二三区好的| 波多野结衣精品在线| 欧美三级电影在线观看| 精品国产一区a| 国产精品不卡在线观看| 日韩电影在线观看网站| 国产精品一区二区久激情瑜伽| 99国产精品久久久久久久久久| 欧美日韩日日骚| 久久久久久久久久久久久久久99 | 正在播放一区二区| 国产日韩在线不卡| 天堂成人国产精品一区| 国产馆精品极品| 欧美日韩精品专区| 亚洲国产精品黑人久久久| 亚洲午夜免费福利视频| 国产成人精品三级| 欧美精三区欧美精三区| ...av二区三区久久精品| 日韩一区精品字幕| 91在线视频免费91| 久久一区二区三区四区| 亚洲成人激情av| 91丨九色丨蝌蚪丨老版| 精品少妇一区二区三区日产乱码 | 这里只有精品99re| 中文字幕一区二区三区四区不卡 | 国产一本一道久久香蕉| 欧美日韩一卡二卡三卡| 国产精品初高中害羞小美女文| 麻豆精品一区二区综合av| 在线免费观看日本欧美| 中文字幕成人av| 国产在线视频精品一区| 欧美高清视频不卡网| 亚洲图片你懂的| 国产99久久久久久免费看农村| 91精品国产综合久久久久久漫画 | 中文字幕一区二区在线观看| 亚洲二区在线观看| 色综合欧美在线| 国产日韩高清在线| 国内精品嫩模私拍在线| 91麻豆精品国产91久久久久| 亚洲男人的天堂在线观看| 99精品国产热久久91蜜凸| 国产欧美日韩在线| 国产传媒久久文化传媒| 精品成a人在线观看| 日本aⅴ免费视频一区二区三区| 在线观看一区日韩| 亚洲欧美一区二区三区极速播放| 福利一区二区在线| 久久女同精品一区二区| 激情深爱一区二区| 久久夜色精品国产噜噜av| 久久99最新地址| 亚洲精品在线免费播放| 国产一区在线看| 久久久国产综合精品女国产盗摄| 精品一区二区三区影院在线午夜 | 免费高清成人在线| 欧美一级二级在线观看| 日韩 欧美一区二区三区| 欧美男人的天堂一二区| 日本视频中文字幕一区二区三区| 欧美一区二区视频在线观看2022 | 亚洲福利一二三区| 欧美军同video69gay| 日韩国产成人精品| 日韩一区二区免费电影| 精品亚洲成a人在线观看| 国产日韩一级二级三级| 不卡视频在线看| 亚洲一二三专区| 91精品在线一区二区| 久久草av在线| 欧美激情一区二区三区不卡 | 欧美性色aⅴ视频一区日韩精品| 亚洲午夜在线视频| 欧美一二三在线| 国产精品99久久久久久宅男| 国产精品嫩草影院com| 日本伦理一区二区| 蜜桃视频免费观看一区| 久久精品视频免费观看| 色哟哟国产精品| 日韩电影一区二区三区四区| 欧美tk丨vk视频| 91丨porny丨国产入口| 五月天激情综合| 国产无一区二区| 欧美午夜精品一区二区蜜桃| 精品一区二区三区欧美|