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

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

?? ansistdio.c

?? vxworks的完整的源代碼
?? C
?? 第 1 頁 / 共 5 頁
字號:
/* ansiStdio.c - ANSI `stdio' documentation *//* Copyright 1984-2002 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01j,21jan02,jkf  SPR#72774, fread is checking for NULL on wrong arg01i,12dec01,jkf  fixing SPR#72128, fread should check for NULL before bcopy.01h,11nov01,jkf  SPR#70967, fread() returns wrong value when 3rd arg == 001g,17mar99,jdi  doc: updated w/ info about proj facility (SPR 25727).01f,04feb99,dgp  document errno values01e,10feb95,jdi  doc format tweak in fopen() and update for rhp changes in 01d.01d,24jan95,rhp  doc: avoid 'L' in fprintf() and fscanf(), no long doubles                  in VxWorks (see SPR#3886)01c,19jul94,dvs  doc tweak (SPR #2512)01b,05mar93,jdi  documentation cleanup for 5.1.01a,24oct92,smb  created.*//*DESCRIPTIONThe header stdio.h declares three types, several macros, and many functionsfor performing input and output..SS TypesThe types declared are `size_t' and:.iP `FILE' 12object type capable of recording all the information needed tocontrol a stream, including its file position indicator, a pointer to itsassociated buffer (if any), an error indicator that records whether aread/write error has occurred, and an end-of-file indicator that recordswhether the end of the file has been reached..iP `fpos_t'object type capable of recording all the information needed tospecify uniquely every position within a file..SS MacrosThe macros are NULL and:.iP "_IOFBF, _IOLBF, _IONBF" 12 3expand to integral constant expressions with distinct values, suitablefor use as the third argument to setvbuf()..iP BUFSIZexpands to an integral constant expression that is the size of thebuffer used by setbuf()..iP EOFexpands to a negative integral constant expression that is returned byseveral functions to indicate `end-of-file', that is, no more input from astream..iP FOPEN_MAXexpands to an integral constant expression that is the minimum number ofthe files that the system guarantees can be open simultaneously..iP FILENAME_MAXexpands to an integral constant expression that is the size needed for anarray of `char' large enough to hold the longest file name string thatcan be used..iP L_tmpnamexpands to an integral constant expression that is the size needed foran array of `char' large enough to hold a temporary file name stringgenerated by tmpnam()..iP "SEEK_CUR, SEEK_END, SEEK_SET"expand to integral constant expressions with distinct values suitablefor use as the third argument to fseek()..iP TMP_MAXexpands to an integral constant expression that is the minimum number offile names generated by tmpnam() that will be unique..iP "`stderr', `stdin', `stdout'"expressions of type "pointer to FILE" that point to the FILE objectsassociated, respectively, with the standard error, input, and output streams.STREAMSInput and output, whether to or from physical devices such as terminals andtape drives, or whether to or from files supported on structured storagedevices, are mapped into logical data streams, whose properties are moreuniform than their various inputs and outputs. Two forms of mapping aresupported: for text streams and for binary streams.A text stream is an ordered sequence of characters composed into lines,each line consisting of zero or more characters plus a terminating new-linecharacter.  Characters may have to be added, altered, or deletedon input and output to conform to differing conventions for representingtext in the host environment.  Thus, there is no need for a one-to-onecorrespondence between the characters in a stream and those in the externalrepresentation.  Data read in from a text stream will necessarily compareequal to the data that were earlier written out to that stream only if:the data consists only of printable characters and the control charactershorizontal tab and new-line; no new-line character is immediately precededby space characters; and the last character is a new-line character.Space characters are written out immediately before a new-line characterappears.A binary stream is an ordered sequence of characters that can transparentlyrecord internal data.  Data read in from a binary stream should compareequal to the data that was earlier written out to that stream, under thesame implementation.  However, such a stream may have anumber of null characters appended to the end of the stream..SS "Environmental Limits"VxWorks supports text files with lines containing at least 254 characters,including the terminating new-line character.  The value of the macroBUFSIZ is 1024.FILESA stream is associated with an external file (which may be a physicaldevice) by opening a file, which may involve creating a new file.Creating an existing file causes its former contents to be discarded, ifnecessary.  If a file can support positioning requests (such as a diskfile, as opposed to a terminal), then a file position indicator associatedwith the stream is positioned at the start (character number zero) of thefile.  The file position indicator is maintained by subsequent reads,writes, and positioning requests, to facilitate an orderly progressionthrough the file.  All input takes place as if characters were read bysuccessive calls to fgetc(); all output takes place as if characters werewritten by successive calls to fputc().Binary files are not truncated, except as defined in fopen() documentation.When a stream is unbuffered, characters are intended to appear from thesource or at the destination as soon as possible.  Otherwise charactersmay be accumulated and transmitted to or from the host environment as ablock.  When a stream is fully buffered, characters are intended to betransmitted to or from the host environment as a block when the buffer isfilled.  When a stream is line buffered, characters are intended to betransmitted to or from the host environment as a block when a new-linecharacter is encountered.  Furthermore, characters are intended to betransmitted as a block to the host environment when a buffer is filled,when input is requested on an unbuffered stream, or when input is requested ona line-buffered stream that requires the transmission of characters fromthe host environment.  VxWorks supports these characteristics via thesetbuf() and setvbuf() functions.A file may be disassociated from a controlling stream by closing the file.Output streams are flushed (any unwritten buffer contents are transmittedto the host environment) before the stream is disassociated from the file.The value of a pointer to a FILE object is indeterminate after the associatedfile is closed (including the standard text streams).The file may be subsequently reopened, by the same or another programexecution, and its contents reclaimed or modified (if it can be repositionedat its start).TASK TERMINATIONANSI specifies that if the main function returns to its original caller orif exit() is called, all open files are closed (and hence all outputstreams are flushed) before program termination.  This does \f3not\fPhappen in VxWorks.  The exit() function does not close all files openedfor that task.  A file opened by one task may be used and closed by another.Unlike in UNIX, when a VxWorks task exits, it is the responsibility of thetask to fclose() its file pointers, except `stdin', `stdout', and`stderr'.  If a task is to be terminated asynchronously, use kill() andarrange for a signal handler to clean up.The address of the FILE object used to control a stream may be significant;a copy of a FILE object may not necessarily serve in place of the original.At program startup, three text streams are predefined and need not be openedexplicitly:  standard input (for reading conventional input), standard output(for writing conventional output), and standard error (for writing diagnosticoutput).  When opened, the standard error stream is not fully buffered; thestandard input and standard output streams are fully buffered if and only ifthe stream can be determined not to refer to an interactive device.Functions that open additional (non-temporary) files require a file name,which is a string.  VxWorks allows the same file to be open multiple timessimultaneously.  It is up to the user to maintain synchronization betweendifferent tasks accessing the same file.FIOLIBSeveral routines normally considered part of standard I/O -- printf(),sprintf(), vprintf(), vsprintf(), and sscanf() -- are not implemented as partof the buffered standard I/O library; they areinstead implemented in fioLib.  They do not use the standard I/O bufferingscheme.  They are self-contained, formatted, but unbuffered I/Ofunctions.  This allows a limited amount of formatted I/O to be achievedwithout the overhead of the standard I/O library.SEE ALSO:fioLib,.I "American National Standard for Information Systems -".I "Programming Language - C, ANSI X3.159-1989: Input/Output (stdio.h)INTERNALThis documentation module is built by appending the following files:    clearerr.c    fclose.c    fdopen.c    feof.c    ferror.c    fflush.c    fgetc.c    fgetpos.c    fgets.c    fileno.c    fopen.c    fprintf.c    fputc.c    fputs.c    fread.c    freopen.c    fscanf.c    fseek.c    fsetpos.c    ftell.c    fwrite.c    getc.c    getchar.c    gets.c    getw.c    perror.c    putc.c    putchar.c    puts.c    putw.c    rewind.c    scanf.c    setbuf.c    setbuffer.c    setvbuf.c    stdioLib.c    stdioShow.c    tmpfile.c    tmpnam.c    ungetc.c    vfprintf.c*//* clearerr.c - clear error file for stdio.h *//* Copyright 1992-1993 Wind River Systems, Inc. *//* modification history -------------------- 01d,05mar93,jdi  documentation cleanup for 5.1.01c,21sep92,smb  corrected first line of file.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.*NOMANUAL*/#include "vxWorks.h"#include "stdio.h"#undef	clearerr/******************************************************************************** clearerr - clear end-of-file and error flags for a stream (ANSI)* * This routine clears the end-of-file and error flags for a specified stream.** INCLUDE FILES: stdio.h ** RETURNS: N/A** SEE ALSO: feof(), ferror()*/void clearerr    (    FILE * fp		/* stream to clear EOF and ERROR flags for */    )    {    __sclearerr(fp);    }/* fclose.c - close file  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 and memory reclaimation.	   +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, error.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "stdio.h"#include "errno.h"#include "stdlib.h"#include "objLib.h"#include "private/stdioP.h"/*******************************************************************************

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
伊人夜夜躁av伊人久久| 激情亚洲综合在线| 亚洲女同一区二区| 国产精品久久久久婷婷二区次| 日韩精品一区二区三区视频播放| 欧美福利视频一区| 91精品国产综合久久福利| 欧美丰满少妇xxxxx高潮对白| 欧美日韩一区二区在线观看视频 | 不卡影院免费观看| 懂色av一区二区三区免费看| 国产成人综合自拍| 成人18精品视频| 99精品久久久久久| 欧洲视频一区二区| 3d动漫精品啪啪1区2区免费| 精品日韩一区二区三区| 久久久777精品电影网影网 | 国产精品婷婷午夜在线观看| 1024亚洲合集| 亚洲一区二区三区四区在线 | 国产乱码精品1区2区3区| 国产成人av自拍| 91麻豆精东视频| 欧美日韩中文一区| 久久综合九色综合97_久久久| 久久精品无码一区二区三区| 国产精品毛片高清在线完整版| 亚洲男人的天堂网| 日韩av一区二| 国产大陆a不卡| 欧美影院一区二区三区| 日韩欧美中文字幕一区| 国产欧美一区二区精品忘忧草 | 五月婷婷激情综合| 狠狠色丁香久久婷婷综| 97久久精品人人做人人爽50路| 91激情在线视频| 日韩你懂的在线播放| 欧美国产日韩一二三区| 亚洲成人免费av| 国产福利一区二区三区视频| 欧美在线播放高清精品| 精品国产伦一区二区三区免费| 亚洲视频一区在线观看| 日韩激情视频在线观看| 成人一级片网址| 欧美日韩美女一区二区| 欧美国产日产图区| 日韩av中文字幕一区二区| 成人的网站免费观看| 制服.丝袜.亚洲.中文.综合| 国产日韩亚洲欧美综合| 亚洲成在线观看| 成人性生交大片免费看视频在线| 欧美性淫爽ww久久久久无| 亚洲精品在线观看视频| 亚洲午夜激情网站| 国产成人亚洲精品青草天美| 欧美日韩国产精选| 亚洲视频小说图片| 九九久久精品视频| 欧美日韩中字一区| 亚洲欧美综合另类在线卡通| 久久av老司机精品网站导航| 色婷婷综合久久久中文一区二区| 精品91自产拍在线观看一区| 亚洲电影中文字幕在线观看| 东方aⅴ免费观看久久av| 51精品秘密在线观看| 亚洲欧美另类综合偷拍| 国产伦精品一区二区三区免费迷 | 欧美日韩一本到| 国产精品三级电影| 国内精品久久久久影院薰衣草| 精品视频在线免费| 亚洲精品一二三| 成人性色生活片免费看爆迷你毛片| 欧美一区二区免费| 亚洲已满18点击进入久久| 成人黄色av电影| 26uuu亚洲综合色| 欧美aa在线视频| 精品视频一区 二区 三区| 亚洲三级在线观看| av影院午夜一区| 欧美国产精品专区| 国产一区二区三区四| 日韩欧美美女一区二区三区| 性感美女极品91精品| 色老汉一区二区三区| 日韩理论片一区二区| 成人黄色a**站在线观看| 久久久精品国产99久久精品芒果| 另类专区欧美蜜桃臀第一页| 91麻豆精品国产自产在线观看一区 | 老司机午夜精品| 91精品国产乱| 欧美96一区二区免费视频| 欧美日韩国产在线观看| 亚洲va欧美va人人爽午夜| 欧美亚男人的天堂| 午夜精品久久久久久久蜜桃app| 欧洲色大大久久| 亚洲成av人片一区二区三区| 欧美网站大全在线观看| 亚洲成av人片观看| 91精品麻豆日日躁夜夜躁| 午夜久久久久久电影| 91精品国产综合久久久久久久久久| 石原莉奈在线亚洲二区| 欧美一区二区三区成人| 精油按摩中文字幕久久| 国产日韩精品一区二区浪潮av | 久久精品视频在线看| 国产精品一区二区男女羞羞无遮挡| 久久久www成人免费无遮挡大片 | 欧美一区二区三区男人的天堂| 毛片一区二区三区| 2021久久国产精品不只是精品| 国产美女视频91| 中文字幕一区二区三区四区不卡 | 成人动漫精品一区二区| 亚洲欧美成aⅴ人在线观看| 在线观看国产91| 日本午夜精品视频在线观看| 精品女同一区二区| 成人一区二区三区在线观看| 亚洲欧美日韩在线播放| 欧美群妇大交群的观看方式| 天天操天天综合网| a在线欧美一区| 国产剧情在线观看一区二区| 高潮精品一区videoshd| 91精品国产欧美日韩| 中文字幕av一区 二区| 欧美亚洲动漫精品| 免费视频一区二区| 久久九九99视频| 亚洲香蕉伊在人在线观| 精品日韩99亚洲| 99天天综合性| 日韩精品色哟哟| 26uuu国产在线精品一区二区| 成人av网站在线观看| 亚洲一区二区三区不卡国产欧美| 日韩欧美久久久| 一本久久精品一区二区| 青青青伊人色综合久久| 国产精品福利av| 欧美一级在线观看| caoporn国产精品| 青椒成人免费视频| 亚洲欧美综合网| 日韩欧美成人一区二区| 91影院在线观看| 精品伊人久久久久7777人| 亚洲免费在线观看| 日韩视频不卡中文| 99久久夜色精品国产网站| 久久综合综合久久综合| 亚洲欧美日韩久久| 亚洲精品一区二区三区在线观看| www.一区二区| 国产一区二区三区免费观看| 亚洲制服丝袜在线| 国产情人综合久久777777| 在线播放中文一区| 91亚洲精品久久久蜜桃网站| 老司机精品视频线观看86| 一区二区视频免费在线观看| 欧美va亚洲va| 欧美日韩午夜精品| 不卡视频一二三四| 国产在线观看一区二区| 亚洲国产视频a| 亚洲欧洲成人自拍| 国产嫩草影院久久久久| 日韩美女视频在线| 欧美高清视频在线高清观看mv色露露十八 | 在线免费亚洲电影| 国产盗摄一区二区| 理论片日本一区| 午夜精品福利一区二区三区av| 最新成人av在线| 国产欧美精品一区二区色综合 | 色悠悠亚洲一区二区| 国产成人综合在线观看| 麻豆91免费看| 天天影视网天天综合色在线播放| 一区二区三区免费网站| 国产精品每日更新| 国产丝袜在线精品| 欧美v日韩v国产v| 精品日韩在线一区| 日韩欧美久久一区| 日韩三级在线免费观看| 欧美精品777| 这里只有精品免费| 91精品国模一区二区三区|