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

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

?? fvwrite.c

?? vxworks的完整的源代碼
?? C
字號:
/* fvwrite.c - internal routine for puts function. stdio.h *//* Copyright 1992 Wind River Systems, Inc. *//*modification history--------------------01b,20sep92,smb  documentation additions01a,29jul92,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, string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "stdio.h"#include "string.h"#include "private/stdioP.h"#include "private/fvwriteP.h"#define	MIN(a, b) ((a) < (b) ? (a) : (b))#define	COPY(n)	  (void) bcopy ((void *)p, (void *)fp->_p, (size_t)(n));#define GETIOV(extra_work)	\    while (len == 0) 		\	{			\	extra_work;		\	p = iov->iov_base;	\	len = iov->iov_len;	\	iov++;			\	}/******************************************************************************** __sfvwrite - internal function used by the write ANSI functions.* * INCLUDE: stdio.h ** RETURNS: zero on success, EOF on error* NOMANUAL*/int __sfvwrite    (    FAST FILE *		 fp,    FAST struct __suio * uio    )    {    FAST size_t		 len;    FAST char *		 p;    FAST struct __siov * iov;    FAST int		 w;    FAST int		 s;    char *		 nl;    int			 nlknown;    int			 nldist;    if ((len = uio->uio_resid) == 0)	return (0);    if (cantwrite (fp))				/* make sure we can write */	return (EOF);    iov	= uio->uio_iov;    p	= iov->iov_base;    len = iov->iov_len;    iov++;    if (fp->_flags & __SNBF) 	{	/* Unbuffered: write up to BUFSIZ bytes at a time */	do 	    {	    GETIOV(;);	    w = __swrite (fp, p, MIN(len, BUFSIZ));	    if (w <= 0)		goto err;	    p	+= w;	    len -= w;	    } while ((uio->uio_resid -= w) != 0);	}     else if ((fp->_flags & __SLBF) == 0) 	{	/*	 * Fully buffered: fill partially full buffer, if any,	 * and then flush.  If there is no partial buffer, write	 * one _bf._size byte chunk directly (without copying).	 *	 * String output is a special case: write as many bytes	 * as fit, but pretend we wrote everything.  This makes	 * snprintf() return the number of bytes needed, rather	 * than the number used, and avoids its write function	 * (so that the write function can be invalid).	 */	do 	    {	    GETIOV(;);	    w = fp->_w;	    if (fp->_flags & __SSTR) 		{		if (len < w)		    w = len;		COPY(w);			/* copy MIN(fp->_w,len), */		fp->_w -= w;		fp->_p += w;		w	= len;			/* but pretend copied all */		}	    else if (fp->_p > fp->_bf._base && len > w) 		{		COPY(w);			/* fill */		fp->_p += w;			/* fp->_w -= w; unneeded */		if (fflush(fp))			/* flush */		    goto err;		}	    else if (len >= (w = fp->_bf._size)) 		{		w = __swrite (fp, p, w);	/* write directly */		if (w <= 0)		    goto err;		}	    else 		{		w = len;		COPY(w);			/* fill and done */		fp->_w -= w;		fp->_p += w;		}	    p	+= w;	    len -= w;	    } while ((uio->uio_resid -= w) != 0);	}    else 	{	/*	 * Line buffered: like fully buffered, but we	 * must check for newlines.  Compute the distance	 * to the first newline (including the newline),	 * or `infinity' if there is none, then pretend	 * that the amount to write is MIN(len,nldist).	 */	nlknown = 0;	nldist	= 0;	do 	    {	    GETIOV(nlknown = 0);	    if (!nlknown) 		{		nl = memchr ((void *)p, '\n', len);		nldist = (nl) ? (nl + 1 - p) : (len + 1);		nlknown = 1;		}	    s = MIN(len, nldist);	    w = fp->_w + fp->_bf._size;	    if (fp->_p > fp->_bf._base && s > w) 		{		COPY(w);		fp->_p += w;		/* fp->_w -= w; unneeded */		if (fflush (fp))		    goto err;		}	    else if (s >= (w = fp->_bf._size)) 		{		w = __swrite (fp, p, w);		if (w <= 0)		    goto err;		}	    else 		{		w = s;		COPY(w);		fp->_w -= w;		fp->_p += w;		}	    if ((nldist -= w) == 0) 		{		if (fflush (fp))	/* copied newline: flush and forget */		    goto err;		nlknown = 0;		}	    p += w;	    len -= w;	    } while ((uio->uio_resid -= w) != 0);	}    return (0);err:    fp->_flags |= __SERR;    return (EOF);    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产精品精华液2区45| 国产一区久久久| 99免费精品在线| 国产丝袜欧美中文另类| 日韩国产欧美在线观看| 在线视频你懂得一区| 中文字幕欧美国产| 国产成人久久精品77777最新版本| 欧美一区二区三区性视频| 亚洲自拍与偷拍| 欧美精品自拍偷拍动漫精品| 亚洲免费观看高清完整版在线| 国产91精品欧美| 国产精品久久久久影院老司| 国产91精品精华液一区二区三区| 久久亚洲综合色一区二区三区| 久热成人在线视频| 久久综合九色综合97婷婷| 激情图片小说一区| 国产精品乱码妇女bbbb| 91色在线porny| 亚洲第一主播视频| 久久先锋影音av鲁色资源网| 高清视频一区二区| 亚洲成人精品影院| 久久九九久久九九| 欧洲一区在线观看| 激情综合色综合久久| 中文字幕高清不卡| 欧美日韩久久久| 成人精品亚洲人成在线| 一区二区高清在线| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 欧美区视频在线观看| 狠狠色伊人亚洲综合成人| 18欧美亚洲精品| 欧美电视剧免费观看| 日本精品裸体写真集在线观看 | 99免费精品视频| 美女视频免费一区| 夜夜精品视频一区二区| 久久久三级国产网站| 在线观看成人小视频| thepron国产精品| 激情五月婷婷综合| 麻豆视频观看网址久久| 亚洲成人精品影院| 亚洲第一主播视频| 亚洲一区二区三区四区中文字幕| 欧美激情一区二区三区全黄| 日韩精品专区在线影院观看| 欧美午夜理伦三级在线观看| 成人av网站免费| 成人国产亚洲欧美成人综合网| 美女被吸乳得到大胸91| 奇米影视7777精品一区二区| 一区二区日韩av| 亚洲国产色一区| 亚洲午夜免费电影| 日韩高清欧美激情| 日本不卡一二三| 国产精品一线二线三线精华| 国内成人免费视频| 丁香五精品蜜臀久久久久99网站| 国产高清成人在线| zzijzzij亚洲日本少妇熟睡| 成人免费观看av| 欧美视频一二三区| 亚洲精品在线免费播放| 裸体歌舞表演一区二区| 国产精品乱人伦一区二区| 国产精品久久久一本精品| 亚洲欧美一区二区视频| 夜夜嗨av一区二区三区四季av| 一区二区三区国产| 奇米精品一区二区三区在线观看一 | 99麻豆久久久国产精品免费 | 欧美性受xxxx黑人xyx| 911国产精品| 欧美国产激情一区二区三区蜜月 | 日韩欧美一二三区| 综合激情成人伊人| 久久国内精品自在自线400部| 大尺度一区二区| 日韩欧美国产综合在线一区二区三区 | 91成人看片片| 久久欧美一区二区| 午夜久久久久久久久久一区二区| 国产精品66部| 欧美一区二区三区免费在线看| 欧美激情一区二区三区四区| 免费看欧美女人艹b| 色哟哟精品一区| 欧美激情一区在线观看| 蜜臀久久久99精品久久久久久| 91在线视频观看| 成人欧美一区二区三区| 国产在线日韩欧美| 精品日韩在线一区| 美女一区二区三区| 91精品国产91久久久久久一区二区| 国产精品色呦呦| 99久久伊人网影院| 中文字幕一区二| 99国产精品久| 一区二区在线观看免费视频播放| 夜夜嗨av一区二区三区中文字幕 | 欧美一级精品大片| 国产精品美女视频| 97久久精品人人做人人爽| 国产欧美一区在线| 不卡一区二区三区四区| 亚洲欧洲制服丝袜| 欧美亚洲一区二区三区四区| 亚洲大片在线观看| 欧美电视剧免费全集观看| 韩国精品一区二区| 国产精品系列在线| 在线观看免费一区| 美女在线一区二区| 亚洲视频在线观看一区| 欧美日韩成人高清| 亚洲一区二区三区视频在线 | 韩国av一区二区三区在线观看| 亚洲精品在线免费观看视频| 懂色av中文一区二区三区| 日韩理论片一区二区| 69久久99精品久久久久婷婷| 国产成人免费视频精品含羞草妖精| 日韩伦理电影网| 精品久久免费看| 欧美午夜一区二区三区免费大片| 久久99精品国产.久久久久| 中文字幕精品在线不卡| 欧美日韩国产综合久久 | 成人性视频网站| 亚洲乱码国产乱码精品精小说| 日韩欧美专区在线| 欧美在线观看一区二区| 粉嫩嫩av羞羞动漫久久久| 午夜伦理一区二区| 亚洲综合小说图片| 中文字幕日韩一区| 久久人人超碰精品| 日韩精品一区二区三区中文精品| 91精品1区2区| 91一区在线观看| jlzzjlzz国产精品久久| 国产91高潮流白浆在线麻豆| 青青青爽久久午夜综合久久午夜| 一区二区三区电影在线播| 国产精品久久久久久亚洲毛片| 久久综合狠狠综合久久激情| 51精品秘密在线观看| 欧美精品123区| 日韩美女一区二区三区四区| 日韩一区二区精品在线观看| 日韩丝袜美女视频| 日韩女优毛片在线| 久久久不卡网国产精品一区| 国产日韩亚洲欧美综合| 国产午夜三级一区二区三| 国产精品女主播av| 最好看的中文字幕久久| 一区二区三区四区国产精品| 亚洲高清免费视频| 免费一级片91| 成人av片在线观看| 欧美日韩三级在线| 精品日产卡一卡二卡麻豆| 国产精品福利一区二区三区| 亚洲欧美另类小说| 免费av成人在线| 99久久国产免费看| 日韩一区和二区| 国产精品萝li| 免费xxxx性欧美18vr| 99精品视频一区二区| 日韩欧美国产一二三区| 亚洲精品你懂的| 国产一区二区三区黄视频| www.视频一区| 日韩美女一区二区三区四区| 亚洲人精品午夜| 久久99精品久久久久婷婷| 欧美亚洲国产一区在线观看网站| 精品少妇一区二区三区日产乱码 | 中文字幕一区二区三区在线观看| 午夜一区二区三区在线观看| 成人av在线网站| 欧美精品一区在线观看| 日韩一区精品字幕| 色av成人天堂桃色av| 国产精品国产a| 成人免费看黄yyy456| 欧美激情中文字幕一区二区| 国内精品视频一区二区三区八戒| 欧美无砖专区一中文字| 亚洲视频 欧洲视频| 99久久精品国产网站|