1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>STD_TVSScanf</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">STD_TVSScanf <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1>
12<h2>Syntax</h2>
13<DL>
14  <DD><CODE>#include &lt;nitro/std.h&gt;<BR> <BR> int STD_TVSScanf( const char *src, const char *fmt, va_list vlist );<BR> <BR></CODE>
15</DL>
16<H2>Arguments</H2>
17<TABLE border="1">
18  <TBODY>
19    <TR>
20      <TD><I><B>src</B></I></TD>
21      <TD>Input string.</TD>
22    </TR>
23    <TR>
24      <TD><I><B>fmt</B></I></TD>
25      <TD>Input formatted string (formatted string).</TD>
26    </TR>
27    <TR>
28      <TD><I><B>vlist</B></I></TD>
29      <TD>Variable argument list.</TD>
30    </TR>
31  </TBODY>
32</TABLE>
33<H2>Return Values</H2>
34<P>Returns the number of times form conversion was successful and was actually substituted.</P>
35<P>When the end of <B><I>src</I></B> is reached without making even one successful form conversion, it returns -1.</P>
36
37<H2>Description</H2>
38<P>This function returns the simplified version of the format string.</P>
39<P>The following functions are the same operation as <CODE>vsscanf</CODE>.</P>
40<BLOCKQUOTE>
41Integer conversion (d, i, o, u, x, X, p)<BR>Character or String (c, s)<BR>Scanning array aquisition (n)<BR>Character class ([])<BR>
42</BLOCKQUOTE>
43<H2>See Also</H2>
44<P><CODE><A href="STD_TSScanf.html">STD_TSScanf</A><br> <A href="../../os/debug/OS_VSNPrintf.html">OS_VSNPrintf</A><br></CODE></P>
45<H2>Revision History</H2>
46<P>
472006/11/16 Added character class to the supported formats.<br>2006/10/25 Initial version.
48</P>
49<hr><p>CONFIDENTIAL</p></body>
50</HTML>
51