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

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

?? ungetc.c

?? vxworks的源代碼
?? C
字號:
/* ungetc.c - return a character to a stream. stdio.h *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,05mar93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,29jul92,jcf  Added OBJ_VERIFY	   +smb  taken from UCB stdio*//*DESCRIPTION * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software *    must display the following acknowledgement: *	This product includes software developed by the University of *	California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors *    may be used to endorse or promote products derived from this software *    without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE.INCLUDE FILE: stdio.h, stdlib.h, string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "stdio.h"#include "stdlib.h"#include "string.h"#include "objLib.h"#include "private/stdioP.h"/******************************************************************************** __submore - internal routine** Expand the ungetc buffer `in place'.  That is, adjust fp->_p when* the buffer moves, so that it points the same distance from the end,* and move the bytes in the buffer around as necessary so that they* are all at the end (stack-style).* * INCLUDE FILES: stdio.h ** RETURNS: * NOMANUAL*/static int __submore    (    FAST FILE *fp    )    {    FAST int       i;    FAST uchar_t * p;    if (fp->_ub._base == fp->_ubuf) 	{	/* Get a new buffer (rather than expanding the old one) */	if ((p = malloc ((size_t)BUFSIZ)) == NULL)	    return (EOF);	fp->_ub._base = p;	fp->_ub._size = BUFSIZ;	p += BUFSIZ - sizeof(fp->_ubuf);	for (i = sizeof(fp->_ubuf); --i >= 0;)	    p[i] = fp->_ubuf[i];	fp->_p = p;	return (0);	}    i = fp->_ub._size;    p = realloc (fp->_ub._base, i << 1);    if (p == NULL)	return (EOF);    (void) bcopy ((void *)p, (void *)(p + i), (size_t)i);    fp->_p	  = p + i;    fp->_ub._base = p;    fp->_ub._size = i << 1;    return (0);    }/******************************************************************************** ungetc - push a character back into an input stream (ANSI)** This routine pushes a character <c> (converted to an `unsigned char') back* into the specified input stream.  The pushed-back characters will be* returned by subsequent reads on that stream in the reverse order of their* pushing.  A successful intervening call on the stream to a file* positioning function (fseek(), fsetpos(), or rewind()) discards any* pushed-back characters for the stream.  The external storage corresponding* to the stream is unchanged.** One character of push-back is guaranteed.  If ungetc() is called too many* times on the same stream without an intervening read or file positioning* operation, the operation may fail.** If the value of <c> equals EOF, the operation fails and the * input stream is unchanged.** A successful call to ungetc() clears the end-of-file indicator for the* stream.  The value of the file position indicator for the stream after* reading or discarding all pushed-back characters is the same as it was* before the character were pushed back.  For a text stream, the value of* its file position indicator after a successful call to ungetc() is* unspecified until all pushed-back characters are read or discarded.* For a binary stream, the file position indicator is decremented by each* successful call to ungetc(); if its value was zero before a call, it is* indeterminate after the call.* * INCLUDE: stdio.h ** RETURNS:* The pushed-back character after conversion, or EOF if the operation fails.** SEE ALSO: getc(), fgetc()*/int ungetc    (    int		 c,	/* character to push */    FAST FILE *	 fp	/* input stream */    )    {    if (OBJ_VERIFY (fp, fpClassId) != OK)	return (EOF);    if (c == EOF)	return (EOF);    if ((fp->_flags & __SRD) == 0) 	{	/*	 * Not already reading: no good unless reading-and-writing.	 * Otherwise, flush any current write stuff.	 */	if ((fp->_flags & __SRW) == 0)	    return (EOF);	if (fp->_flags & __SWR) 	    {	    if (__sflush(fp))		return (EOF);	    fp->_flags  &= ~__SWR;	    fp->_w	 = 0;	    fp->_lbfsize = 0;	    }	fp->_flags |= __SRD;	}    c = (uchar_t) c;    /*     * If we are in the middle of ungetc'ing, just continue.     * This may require expanding the current ungetc buffer.     */    if (HASUB(fp)) 	{	if (fp->_r >= fp->_ub._size && __submore(fp))	    return (EOF);	*--fp->_p = c;	fp->_r++;	return (c);	}    /*     * If we can handle this by simply backing up, do so,     * but never replace the original character.     * (This makes sscanf() work when scanning `const' data.)     */    if ((fp->_bf._base != NULL) && 	(fp->_p > fp->_bf._base) &&	(fp->_p[-1] == c)) 	{	fp->_p--;	fp->_r++;	return (c);	}    /*     * Create an ungetc buffer.     * Initially, we will use the `reserve' buffer.     */    fp->_ur				= fp->_r;    fp->_up				= fp->_p;    fp->_ub._base			= fp->_ubuf;    fp->_ub._size			= sizeof(fp->_ubuf);    fp->_ubuf[sizeof(fp->_ubuf) - 1]	= c;    fp->_p				= &fp->_ubuf[sizeof(fp->_ubuf) - 1];    fp->_r				= 1;    return (c);    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久免费精品高清特色大片| 日韩二区三区在线观看| 欧美mv日韩mv亚洲| 欧美一区二区三区视频免费播放| 欧美久久久久久久久久| 欧美人xxxx| 日韩午夜电影在线观看| 亚洲精品一区二区三区影院| 日韩精品一区二区三区swag | 亚洲欧美日韩综合aⅴ视频| 国产欧美精品一区| 国产亚洲欧洲一区高清在线观看| 欧美国产日韩a欧美在线观看| 国产日韩欧美激情| 国产精品国产三级国产aⅴ入口 | 欧美日韩美少妇| 欧美日韩一区二区在线观看| 欧美一区在线视频| 精品国产一区二区三区四区四| 久久众筹精品私拍模特| 国产精品嫩草影院com| 一区二区三区精品视频| 亚洲18女电影在线观看| 久草在线在线精品观看| av在线不卡网| 欧美人妇做爰xxxⅹ性高电影| 精品理论电影在线| 亚洲视频一区二区免费在线观看| 亚洲在线中文字幕| 久久国产乱子精品免费女| 丰满放荡岳乱妇91ww| 欧美综合视频在线观看| 欧美大片日本大片免费观看| 国产精品每日更新| 五月天一区二区三区| 国产精一区二区三区| 欧美在线高清视频| 久久久久免费观看| 亚洲国产日韩一级| 丁香婷婷深情五月亚洲| 欧美精选一区二区| 国产精品久久久久天堂| 奇米色一区二区| 色噜噜狠狠一区二区三区果冻| 亚洲精品在线观看视频| 亚洲精品国产a| 国产一区二区视频在线| 7777精品伊人久久久大香线蕉超级流畅 | 亚洲人吸女人奶水| 黄色成人免费在线| 欧美日韩极品在线观看一区| 国产精品久久久一区麻豆最新章节| 亚洲超碰97人人做人人爱| 99久久婷婷国产综合精品电影| 欧美岛国在线观看| 蜜臀av性久久久久蜜臀aⅴ四虎 | 欧美视频一区二区在线观看| 亚洲国产岛国毛片在线| 经典三级视频一区| 欧美一区二区三区四区视频| 亚洲激情五月婷婷| 99久久伊人精品| 中文字幕av不卡| 国产成人亚洲综合a∨猫咪| 精品日韩一区二区三区 | 久久综合狠狠综合久久激情 | 精品国产91洋老外米糕| 日韩经典中文字幕一区| 欧美浪妇xxxx高跟鞋交| 一个色妞综合视频在线观看| 色综合天天综合网国产成人综合天| 久久久久久久久97黄色工厂| 国产精品一区二区久激情瑜伽| 精品国产99国产精品| 精品亚洲成a人| 久久久久99精品国产片| 国产成人av一区二区三区在线观看| 精品国产亚洲一区二区三区在线观看 | 亚洲黄色性网站| 欧美性感一区二区三区| 图片区小说区区亚洲影院| 6080午夜不卡| 极品瑜伽女神91| 国产欧美精品一区二区色综合朱莉| 另类的小说在线视频另类成人小视频在线 | 日韩色视频在线观看| 麻豆精品新av中文字幕| 久久久蜜桃精品| 99久久精品国产网站| 亚洲一区视频在线观看视频| 91精品国产麻豆| 国产一二三精品| 一区二区国产视频| 欧美成人激情免费网| 国产成人一区在线| 亚洲黄色av一区| 欧美成人综合网站| 韩国毛片一区二区三区| 国产精品国产三级国产普通话蜜臀| 色999日韩国产欧美一区二区| 日本亚洲天堂网| 国产精品美女一区二区在线观看| 色综合天天综合网天天狠天天| 日本欧洲一区二区| 国产色产综合色产在线视频| 日本乱人伦aⅴ精品| 久久99精品一区二区三区三区| 国产精品毛片a∨一区二区三区 | 六月丁香婷婷久久| 中文字幕乱码亚洲精品一区 | 日本一区二区成人在线| 欧美日韩在线精品一区二区三区激情| 久久国产人妖系列| 亚洲青青青在线视频| 欧美一二三区在线| 色老头久久综合| 久久99久久久欧美国产| 亚洲综合视频在线| 国产精品欧美久久久久一区二区| 欧美人狂配大交3d怪物一区| www.色精品| 国产一区二区美女诱惑| 天天影视色香欲综合网老头| 欧美国产成人精品| 日韩精品中文字幕在线一区| 欧美伊人久久大香线蕉综合69| 国产成人亚洲综合a∨婷婷| 日韩av电影免费观看高清完整版| 中文字幕一区二区三区色视频| 精品国产免费人成在线观看| 欧美日韩一区成人| 色女孩综合影院| 成人动漫中文字幕| 国产乱码字幕精品高清av | 天使萌一区二区三区免费观看| 亚洲少妇屁股交4| 国产精品网曝门| 久久嫩草精品久久久精品| 日韩美女一区二区三区| 3d成人h动漫网站入口| 欧洲一区二区av| 欧洲国内综合视频| 一本大道久久a久久精品综合| 成人av资源网站| 99视频超级精品| 99视频一区二区三区| 99re8在线精品视频免费播放| 高清国产一区二区| 国产精品短视频| 国产精品国产自产拍在线| 日韩免费看网站| 欧美一二三四区在线| 欧美日韩一级二级三级| 91久久一区二区| 在线免费观看日韩欧美| 欧美综合天天夜夜久久| 欧美伊人精品成人久久综合97| 在线看日韩精品电影| 色噜噜狠狠成人中文综合| 欧美亚洲国产一区二区三区va | 亚洲成人免费视频| 亚洲曰韩产成在线| 日韩**一区毛片| 久久国产精品露脸对白| 国产精品一区二区不卡| av网站免费线看精品| 91美女在线看| 欧美私人免费视频| 日韩视频免费观看高清完整版| 精品国内片67194| 国产亚洲视频系列| 亚洲黄色片在线观看| 亚洲电影中文字幕在线观看| 免费成人小视频| 国产成人亚洲精品青草天美| 99精品久久99久久久久| 欧美日韩成人一区| 欧美精品一区二区高清在线观看| 久久夜色精品国产噜噜av| 国产精品久久一卡二卡| 亚洲成av人片在线观看无码| 美女网站色91| 91麻豆精品秘密| 欧美一区二区三区在线观看| 久久精品亚洲乱码伦伦中文| 怡红院av一区二区三区| 久久国产日韩欧美精品| 色综合久久六月婷婷中文字幕| 91精品免费在线| 日韩一区日韩二区| 日本三级韩国三级欧美三级| 成人av网址在线观看| 91精品在线免费观看| 国产精品免费视频网站| 日韩精品三区四区| 91婷婷韩国欧美一区二区| 欧美精品一区二区三区高清aⅴ | 欧美网站大全在线观看| 国产亚洲污的网站| 午夜精品久久久久久久99水蜜桃 |