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_TSScanf</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">STD_TSScanf <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_TSScanf( const char *src, const char *fmt, ... );<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  </TBODY>
28</TABLE>
29<H2>Return Values</H2>
30<P>Returns the number of times form conversion was successful and was actually substituted.</P>
31<P>When the end of <SPAN class="argument">src</SPAN> is reached without making even one successful form conversion, it returns -1.</P>
32
33<H2>Description</H2>
34<P>Returns the simplified version of the format string.</P>
35<P>Other than accepting variable arguments, this is equivalent to the <A href="STD_TVSScanf.html"><CODE>STD_TVSScanf</CODE></A> function.</P>
36<P>This function is compiled with weak symbols. Therefore, you can overwrite them with your own function definitions.<BR><FONT color=#ff0000>However, this function may be used by TWL-SDK functions, high-level libraries, middleware, and other sources, so be careful not to change its behavior when you overwrite it.</FONT>
37</P>
38<H2>See Also</H2>
39<P><A href="STD_TVSScanf.html"><CODE>STD_TVSScanf</CODE></A><br> <A href="../../os/debug/OS_VSNPrintf.html"><CODE>OS_VSNPrintf</CODE></A></P>
40<H2>Revision History</H2>
41<P>
422009/03/27 Added notes related to weak symbols and user-defined functions. <BR>2005/10/25 Initial version.
43</P>
44<hr><p>CONFIDENTIAL</p></body>
45</HTML>
46