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>OS_SPrintf</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">OS_SPrintf <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/os.h&gt;<BR> <BR> int OS_SPrintf( char *dst, const char *fmt, ...</CODE>
15</DL>
16
17<H2>Arguments</H2>
18<p>Identical to the <a href="../../std/string/STD_TSPrintf.html"><code>STD_TSPrintf</code></a> function.</p>
19
20<H2>Return Values</H2>
21<p>Identical to the <a href="../../std/string/STD_TSPrintf.html"><code>STD_TSPrintf</code></a> function.</p>
22
23<H2>Description</H2>
24<p>This function has been replaced by the <a href="../../std/string/STD_TSPrintf.html"><code>STD_TSPrintf</code></a> function. This function simply calls the <a href="../../std/string/STD_TSPrintf.html"><code>STD_TSPrintf</code></a> function internally and returns its results.</p>
25<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>
26</p>
27
28<H2>See Also</H2>
29<p><code><a href="../../std/string/STD_TSPrintf.html">STD_TSPrintf</a></code></p>
30
31<H2>Revision History</H2>
32<P>
332009/03/27 Added a note on user-defined functions. <BR>2008/09/06 Revised the description of this function being replaced by a STD library function.<br />2005/04/08 Deleted an erroneous note saying that output is not generated in the final ROM version (FINALROM) of the library. <BR>2004/11/25 Added a description of weak symbols. <BR>2004/06/15 Changed &quot;termination NULL&quot; to &quot;termination character (<code>\0</code>).&quot; <BR>2004/03/26 Initial version.</P>
34<hr><p>CONFIDENTIAL</p></body>
35</HTML>