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

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

?? fscanf.c

?? vxworks的完整的源代碼
?? C
字號:
/* fscanf.c - scan a file. stdio.h *//* Copyright 1992-1995 Wind River Systems, Inc. *//*modification history--------------------01d,24jan95,rhp  doc: avoid 'L' in fscanf(), no long doubles                  in VxWorks (see SPR#3886)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, stdarg.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "fioLib.h"#include "stdarg.h"#include "objLib.h"#include "private/stdioP.h"/******************************************************************************** fscanf - read and convert characters from a stream (ANSI)* * This routine reads characters from a specified stream, and interprets them* according to format specifications in the string <fmt>, which specifies* the admissible input sequences and how they are to be converted for* assignment, using subsequent arguments as pointers to the objects to* receive the converted input.** If there are insufficient arguments for the format, the behavior is* undefined.  If the format is exhausted while arguments remain, the excess* arguments are evaluated but are otherwise ignored.** The format is a multibyte character sequence, beginning and ending in* its initial shift state.  The format is composed of zero or more directives:* one or more white-space characters; an ordinary multibyte character (neither* `%' nor a white-space character); or a conversion specification.  Each* conversion specification is introduced by the `%' character.  After the `%',* the following appear in sequence:** .iP "" 4* An optional assignment-suppressing character `*'.* .iP* An optional non-zero decimal integer that specifies the maximum field * width.* .iP* An optional `h' or `l' (el) indicating the size of the receiving * object.  The conversion specifiers `d', `i', and `n' should be preceded by* `h' if the corresponding argument is a pointer to `short int' rather* than a pointer to `int', or by `l' if it is a pointer to `long int'.* Similarly, the conversion specifiers `o', `u', and `x' shall be preceded* by `h' if the corresponding argument is a pointer to `unsigned short int'* rather than a pointer to `unsigned int', or by `l' if it is a pointer to* `unsigned long int'.  Finally, the conversion specifiers `e', `f', and `g' * shall be preceded by `l' if the corresponding argument is a pointer to* `double' rather than a pointer to `float'.  If an `h' or `l' appears* with any other conversion specifier, the behavior is undefined.** \&WARNING: ANSI C also specifies an optional `L' in some of the same* contexts as `l' above, corresponding to a `long double *' argument.* However, the current release of the VxWorks libraries does not support * `long double' data; using the optional `L' gives unpredictable results.* .iP* A character that specifies the type of conversion to be applied.  The* valid conversion specifiers are described below.* .LP** The fscanf() routine executes each directive of the format in turn.  If a * directive fails, as detailed below, fscanf() returns.  Failures* are described as input failures (due to the unavailability of input* characters), or matching failures (due to inappropriate input).* * A directive composed of white-space character(s) is executed by reading* input up to the first non-white-space character (which remains unread),* or until no more characters can be read.** A directive that is an ordinary multibyte character is executed by reading* the next characters of the stream.  If one of the characters differs from* one comprising the directive, the directive fails, and the differing and* subsequent characters remain unread.** A directive that is a conversion specification defines a set of matching* input sequences, as described below for each specifier.  A conversion* specification is executed in the following steps:** Input white-space characters (as specified by the isspace() function) are * skipped, unless the specification includes a `[', `c', or `n' specifier.** An input item is read from the stream, unless the specification includes* an `n' specifier.  An input item is defined as the longest matching* sequence of input characters, unless that exceeds a specified field width,* in which case it is the initial subsequence of that length in the* sequence.  The first character, if any, after the input item remains* unread.  If the length of the input item is zero, the execution of the* directive fails:  this condition is a matching failure, unless an error* prevented input from the stream, in which case it is an input failure.** Except in the case of a `%' specifier, the input item is converted to a* type appropriate to the conversion specifier.  If the input item is not a* matching sequence, the execution of the directive fails:  this condition* is a matching failure.  Unless assignment suppression was indicated by a* `*', the result of the conversion is placed in the object pointed to by* the first argument following the <fmt> argument that has not already* received a conversion result.  If this object does not have an appropriate* type, or if the result of the conversion cannot be represented in the* space provided, the behavior is undefined.** The following conversion specifiers are valid:** .iP `d'* Matches an optionally signed decimal integer whose format is* the same as expected for the subject sequence of the strtol()* function with the value 10 for the <base> argument.  The * corresponding argument should be a pointer to `int'.* .iP `i'* Matches an optionally signed integer, whose format is the* same as expected for the subject sequence of the strtol()* function with the value 0 for the <base> argument.  The * corresponding argument should be a pointer to `int'.* .iP `o'* Matches an optionally signed octal integer, whose format is the* same as expected for the subject sequence of the strtoul()* function with the value 8 for the <base> argument.  The* corresponding argument should be a pointer to `unsigned int'.* .iP `u'* Matches an optionally signed decimal integer, whose format is * the same as expected for the subject sequence of the strtoul()* function with the value 10 for the <base> argument.  The* corresponding argument should be a pointer to `unsigned int'.* .iP `x'* Matches an optionally signed hexadecimal integer, whose format is* the same as expected for the subject sequence of the strtoul()* function with the value 16 for the <base> argument.  The* corresponding argument should be a pointer to `unsigned int'.* .iP "`e', `f', `g'"* Match an optionally signed floating-point number, whose format* is the same as expected for the subject string of the strtod()* function.  The corresponding argument should be a pointer to `float'.* .iP `s'* Matches a sequence of non-white-space characters.  The * corresponding argument should be a pointer to the initial* character of an array large enough to accept the sequence* and a terminating null character, which will be added * automatically.* .iP `['* Matches a non-empty sequence of characters from a set of * expected characters (the `scanset').  The corresponding argument* should be a pointer to the initial character of an array large* enough to accept the sequence and a terminating null character,* which is added automatically.  The conversion specifier* includes all subsequent character in the format string, up to* and including the matching right bracket (`]').  The characters* between the brackets (the `scanlist') comprise the scanset,* unless the character after the left bracket is a circumflex (`^')* in which case the scanset contains all characters that do not* appear in the scanlist between the circumflex and the right* bracket.  If the conversion specifier begins with "[]" or "[^]", the* right bracket character is in the scanlist and the next * right bracket character is the matching right bracket that ends* the specification; otherwise the first right bracket character* is the one that ends the specification.* .iP `c'* Matches a sequence of characters of the number specified by the* field width (1 if no field width is present in the directive).* The corresponding argument should be a pointer to the initial * character of an array large enough to accept the sequence.* No null character is added.* .iP `p'* Matches an implementation-defined set of sequences, which should be* the same as the set of sequences that may be produced by the %p* conversion of the fprintf() function.  The corresponding argument* should be a pointer to a pointer to `void'.  VxWorks defines its* pointer input field to be consistent with pointers written by the* fprintf() function ("0x" hexadecimal notation).  If the input item is* a value converted earlier during the same program execution, the* pointer that results should compare equal to that value; otherwise* the behavior of the %p conversion is undefined.* .iP `n'* No input is consumed.  The corresponding argument should be a pointer to* `int' into which the number of characters read from the input stream so* far by this call to fscanf() is written.  Execution of a %n directive does* not increment the assignment count returned when fscanf() completes* execution.* .iP `%'* Matches a single `%'; no conversion or assignment occurs.  The* complete conversion specification is %%.* .LP** If a conversion specification is invalid, the behavior is undefined.** The conversion specifiers `E', `G', and `X' are also valid and behave the* same as `e', `g', and `x', respectively.** If end-of-file is encountered during input, conversion is terminated.  If * end-of-file occurs before any characters matching the current directive* have been read (other than leading white space, where permitted), execution* of the current directive terminates with an input failure; otherwise, unless* execution of the current directive is terminated with a matching failure,* execution of the following directive (if any) is terminated with an input* failure.** If conversion terminates on a conflicting input character, the offending* input character is left unread in the input stream.  Trailing white space* (including new-line characters) is left unread unless matched by a* directive.  The success of literal matches and suppressed assignments is* not directly determinable other than via the %n directive.** INCLUDE FILES: stdio.h ** RETURNS:* The number of input items assigned, which can be fewer than provided for,* or even zero, in the event of an early matching failure; or EOF if an* input failure occurs before any conversion.** SEE ALSO: scanf(), sscanf()*/int fscanf    (    FILE *	  fp,	/* stream to read from */    char const *  fmt,	/* format string */    ...			/* arguments to format string */    )     {    int     nArgs;    int     unget;    va_list vaList;	/* vararg list */    if (OBJ_VERIFY (fp, fpClassId) != OK)	return (EOF);    va_start (vaList, fmt);    nArgs = fioScanV (fmt, fgetc, (int) fp, &unget, vaList);    va_end (vaList);    if (unget != -1)	ungetc (unget, fp);    return (nArgs);    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆成人在线观看| 国产99一区视频免费| 精品午夜一区二区三区在线观看 | 欧美一区二区三区色| 精品国产一区二区三区av性色| 99国产欧美另类久久久精品| 日韩欧美一区中文| 亚洲综合成人在线| 成人免费看片app下载| 欧美成人bangbros| 亚洲成a人片综合在线| 成人爱爱电影网址| 久久久国产一区二区三区四区小说| 亚洲午夜电影网| 色嗨嗨av一区二区三区| 亚洲国产精品精华液2区45| 日本不卡视频在线观看| 欧美性色黄大片手机版| 亚洲激情图片小说视频| 成人av影视在线观看| 国产视频一区在线观看| 精品影院一区二区久久久| 在线视频亚洲一区| 亚洲精品成人在线| 日本精品免费观看高清观看| 中文字幕av资源一区| 国产一区二区在线影院| 亚洲精品一区二区三区影院| 乱一区二区av| 精品美女在线播放| 国产在线精品免费| 国产午夜久久久久| 国产精品资源在线| 国产欧美一区二区在线观看| 国产不卡在线视频| 欧美激情综合五月色丁香小说| 国产成人免费视频精品含羞草妖精| 26uuu久久综合| 国产精品99久久久久久久女警| 久久美女艺术照精彩视频福利播放| 久久成人综合网| 久久久精品黄色| jlzzjlzz亚洲日本少妇| 中文字幕亚洲区| 在线欧美日韩精品| 日韩中文字幕1| 日韩免费看的电影| 国产成人在线视频播放| 国产精品久久久久一区| 91丨九色丨蝌蚪丨老版| 婷婷丁香久久五月婷婷| 日韩欧美一级在线播放| 粉嫩aⅴ一区二区三区四区五区| 国产精品免费av| 在线观看日韩毛片| 青青草国产精品亚洲专区无| 久久久五月婷婷| 91视频一区二区| 免费看黄色91| 一区在线中文字幕| 91精品午夜视频| 国产白丝精品91爽爽久久| 亚洲蜜臀av乱码久久精品| 欧美视频一区在线观看| 国产一区二区女| 一区二区三区波多野结衣在线观看| 9191久久久久久久久久久| 国产大片一区二区| 怡红院av一区二区三区| 日韩精品影音先锋| 色呦呦日韩精品| 激情五月婷婷综合| 亚洲综合丁香婷婷六月香| 国产无人区一区二区三区| 欧美日韩中文一区| 成人精品国产一区二区4080| 丝袜美腿一区二区三区| 国产精品久久久久久久久免费桃花 | 成人伦理片在线| 亚洲成人手机在线| 国产精品美日韩| 精品国产乱码久久久久久久久| av电影一区二区| 成人av在线电影| 精品一区二区在线视频| 亚洲综合av网| 亚洲同性同志一二三专区| 日韩欧美不卡一区| 欧美日韩高清一区二区不卡 | 日韩一区欧美一区| 亚洲精品一线二线三线无人区| 在线观看免费一区| www.欧美日韩| 成人h版在线观看| 国内精品写真在线观看| 天天操天天综合网| 亚洲一区二区精品视频| 国产精品久久99| 国产欧美日韩视频在线观看| 久久综合九色综合97婷婷| 日韩三级在线观看| 51精品秘密在线观看| 欧美体内she精视频| 色综合久久综合网欧美综合网| 成人激情免费视频| 成人精品免费视频| 成人精品在线视频观看| 国产成人综合网| 成人午夜av影视| 国产白丝网站精品污在线入口| 国产尤物一区二区| 国产精品自在在线| 国产大片一区二区| 成人黄色在线网站| 不卡电影免费在线播放一区| 国产精品99久久久久久有的能看| 国产福利不卡视频| 成人精品在线视频观看| 99这里只有久久精品视频| 99热国产精品| 日本高清免费不卡视频| 欧洲人成人精品| 在线不卡a资源高清| 欧美一区二区三区在线观看视频| 欧美一区二区视频网站| 欧美精品一区二区三区蜜臀| 久久久精品综合| 中文字幕一区二区三区不卡 | 国产精品理伦片| 亚洲美女精品一区| 亚洲国产精品久久艾草纯爱| 肉色丝袜一区二区| 韩国女主播一区二区三区| 高清视频一区二区| 欧美丝袜自拍制服另类| 91精品国产美女浴室洗澡无遮挡| 欧美电影免费观看完整版| 国产日韩欧美高清| 亚洲图片自拍偷拍| 久久国内精品自在自线400部| 国产精品一品二品| 欧美在线免费观看亚洲| 欧美日本在线一区| 久久免费电影网| 亚洲一线二线三线视频| 久久国产精品第一页| 成人午夜又粗又硬又大| 欧美日韩亚洲综合在线| 久久久久国产精品麻豆| 亚洲一二三四区不卡| 久久成人久久鬼色| 91丨九色丨蝌蚪丨老版| 精品久久久三级丝袜| 最新国产の精品合集bt伙计| 婷婷成人综合网| 91在线免费播放| 精品国产伦理网| 亚洲影视资源网| 播五月开心婷婷综合| 欧美军同video69gay| 中文成人av在线| 日韩av高清在线观看| 成人动漫视频在线| 欧美大片在线观看| 亚洲福利一区二区三区| 成人免费高清视频在线观看| 日韩精品一区国产麻豆| 一区二区三区色| 国产aⅴ精品一区二区三区色成熟| 91精品国产综合久久香蕉麻豆| 中文字幕亚洲一区二区av在线| 国模冰冰炮一区二区| 7777精品伊人久久久大香线蕉的| 中文字幕一区二区三区不卡在线 | 亚洲国产精品久久不卡毛片| 成人性生交大片免费看视频在线| 91精品婷婷国产综合久久| 亚洲一区二区三区四区在线观看 | 不卡影院免费观看| 精品少妇一区二区| 日韩vs国产vs欧美| 欧美性猛交xxxx黑人交| 国产精品电影一区二区三区| 国产曰批免费观看久久久| 日韩一区二区免费在线电影| 亚洲国产三级在线| 色猫猫国产区一区二在线视频| 中文字幕va一区二区三区| 国产91色综合久久免费分享| 欧美成人r级一区二区三区| 蜜桃av一区二区| 4438成人网| 日本不卡不码高清免费观看| 9191国产精品| 日本欧美加勒比视频| 欧美肥妇毛茸茸| 喷水一区二区三区| 欧美电影精品一区二区| 久草这里只有精品视频| 欧美刺激午夜性久久久久久久|