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

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

?? ungetc.c

?? vxwork源代碼
?? 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一区二区三区免费野_久草精品视频
国产999精品久久久久久绿帽| 日韩一区二区免费视频| 欧美精品777| 欧美大肚乱孕交hd孕妇| 亚洲免费成人av| 粉嫩av一区二区三区在线播放 | 亚洲日本韩国一区| 免费观看在线综合色| 一本大道久久精品懂色aⅴ| 欧美国产精品一区二区| 免费观看91视频大全| 一本在线高清不卡dvd| 国产午夜精品福利| 日本一不卡视频| 91福利视频久久久久| 国产精品你懂的在线| 国产一区二区三区免费看| 欧美三级欧美一级| 一区二区在线看| 99久久亚洲一区二区三区青草| 国产日韩综合av| 国产福利精品导航| 久久精品一区四区| 国产一区二区三区最好精华液| 精品国产91乱码一区二区三区 | 欧美军同video69gay| 亚洲精品写真福利| 色偷偷成人一区二区三区91| 亚洲免费观看高清在线观看| 色婷婷狠狠综合| 亚洲午夜精品网| 欧美午夜寂寞影院| 视频在线观看91| 欧美一卡2卡3卡4卡| 精品制服美女久久| 久久中文字幕电影| 成人av网站在线观看免费| 国产精品美女久久久久久久网站| 国产91在线观看| 国产精品伦理在线| 91免费观看视频| 亚洲不卡av一区二区三区| 538在线一区二区精品国产| 秋霞av亚洲一区二区三| 久久精品一区二区三区av| 成人免费毛片嘿嘿连载视频| 国产精品久久毛片a| 日本韩国精品在线| 天堂蜜桃91精品| 久久综合丝袜日本网| 成人性视频网站| 久久99热国产| 久久久久久麻豆| 成人国产电影网| 亚洲国产一区二区三区青草影视| 这里只有精品电影| 国产在线精品一区二区不卡了| 国产视频在线观看一区二区三区| 国产精品美女久久久久久久| 一本久久综合亚洲鲁鲁五月天| 2020国产精品| www.欧美日韩国产在线| 亚洲午夜日本在线观看| 日韩一区二区三区视频| 成人在线视频一区二区| 亚洲久草在线视频| 成人av小说网| 国模娜娜一区二区三区| 蜜桃精品视频在线观看| 天天做天天摸天天爽国产一区 | 精品蜜桃在线看| 欧美乱妇15p| 欧美日韩国产经典色站一区二区三区| 在线一区二区三区四区| 91麻豆免费看片| 91浏览器入口在线观看| 91视频一区二区三区| 91丝袜高跟美女视频| 91黄色免费看| 欧美日韩高清一区二区不卡| 9191精品国产综合久久久久久 | 激情欧美一区二区| 激情综合网av| 国产精品99久久不卡二区| 国产suv精品一区二区6| 成人视屏免费看| 91免费小视频| 欧美日韩国产美| 日韩欧美一区在线| 久久久久久一二三区| 国产精品毛片久久久久久| 中文字幕亚洲电影| 一区二区免费视频| 五月天国产精品| 蜜桃一区二区三区在线| 国产精品伊人色| 91女神在线视频| 欧美视频一区二区| 日韩精品一区二区三区中文不卡 | 欧美人体做爰大胆视频| 欧美午夜寂寞影院| 欧美成人a视频| 中文字幕日韩欧美一区二区三区| 一区二区高清在线| 青青草一区二区三区| 国产精品1024| 日本丶国产丶欧美色综合| 制服丝袜亚洲色图| 久久精品一区二区三区av| 一区二区三区在线观看国产| 精品影院一区二区久久久| 99精品视频在线播放观看| 欧美日韩免费一区二区三区视频 | 在线观看免费成人| 日韩美女主播在线视频一区二区三区 | 色婷婷av久久久久久久| 欧美日韩国产123区| 久久亚区不卡日本| 亚洲精品乱码久久久久久黑人| 日本91福利区| av电影在线观看一区| 日韩欧美亚洲国产另类| 国产精品国产三级国产有无不卡 | 久久疯狂做爰流白浆xx| 99re热这里只有精品视频| 欧美一区二区久久久| 国产日本亚洲高清| 视频一区视频二区在线观看| 国产激情偷乱视频一区二区三区| 色婷婷av一区二区三区gif| 久久亚洲精华国产精华液 | 欧美一区二区免费| 一区二区三区在线视频免费 | 国产精品久久久久一区| 免费成人深夜小野草| 色呦呦国产精品| 国产欧美一区视频| 蜜臀av一级做a爰片久久| 在线视频综合导航| 中文一区二区在线观看| 久久99精品久久久久久久久久久久| 色婷婷一区二区| 亚洲图片你懂的| 国产精品1区2区| 久久天天做天天爱综合色| 日韩成人免费看| 欧美日韩不卡视频| 亚洲午夜久久久久久久久电影网| 99精品久久免费看蜜臀剧情介绍| 久久综合久久综合亚洲| 蜜桃视频在线一区| 337p亚洲精品色噜噜噜| 亚洲第四色夜色| 91色.com| 亚洲情趣在线观看| 99久久精品国产观看| 国产精品久久午夜| 99久久亚洲一区二区三区青草| 国产女人aaa级久久久级| 极品美女销魂一区二区三区| 欧美成人一区二区三区片免费| 亚洲第一电影网| 欧美乱妇一区二区三区不卡视频 | 日韩高清欧美激情| 欧美精选一区二区| 免费视频一区二区| 日韩精品一区二区三区三区免费| 美女一区二区视频| 久久免费看少妇高潮| 国产精选一区二区三区| 国产欧美日韩视频在线观看| 成人自拍视频在线| 亚洲欧美日韩一区二区| 色播五月激情综合网| 亚洲永久精品大片| 欧美日韩激情在线| 久久国产夜色精品鲁鲁99| 精品剧情在线观看| 国产精品白丝av| 亚洲色图.com| 欧美日韩一区二区在线观看视频 | 伊人婷婷欧美激情| 欧美猛男gaygay网站| 免费观看91视频大全| 337p粉嫩大胆噜噜噜噜噜91av | 亚洲成在人线在线播放| 5858s免费视频成人| 另类的小说在线视频另类成人小视频在线 | 69堂精品视频| 国产精品1区二区.| 亚洲区小说区图片区qvod| 欧美乱妇一区二区三区不卡视频| 激情综合网激情| 日韩一区有码在线| 7777精品伊人久久久大香线蕉超级流畅| 蜜桃视频一区二区三区在线观看| 中文字幕不卡在线| 欧美日韩一区小说| 国产精品一区二区不卡| 一区二区三区四区视频精品免费|