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_TVFPrintf</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">OS_TVFPrintf <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;</CODE><BR> <BR> <CODE>void OS_TVFPrintf( int console, const char *fmt, va_list vlist );</CODE>
15</DL>
16<H2>Arguments</H2>
17<TABLE border="1">
18  <TBODY>
19    <TR>
20<TD><B><I>console</I></B></TD>
21<TD>Output window.</TD>
22    </TR>
23    <TR>
24<TD><I><B>fmt</B></I></TD>
25<TD>Output format string.</TD>
26    </TR>
27    <TR>
28<TD><I><B>vlist</B></I></TD>
29<TD>List containing a variable number of arguments.</TD>
30    </TR>
31  </TBODY>
32</TABLE>
33<H2>Return Values</H2>
34<P>None.</P>
35<H2>Description</H2>
36<P>This is a version of the <CODE><A href="OS_TVPrintf.html">OS_TVPrintf</A></CODE> function that allows the output window to be specified. All behavior other than designating the output destination is based on the specification for <CODE><A href="OS_TVPrintf.html">OS_TVPrintf</A></CODE>, so see that page.</P>
37<P>The <SPAN class="argument">console</SPAN> argument specifies the output window and can take values from 0 to 3. Specify <CODE>OS_PRINT_OUTPUT_NONE</CODE> to output nothing. Specifying <CODE>OS_PRINT_OUTPUT_CURRENT</CODE> uses the standard output destination defined by <A href="OS_SetPrintOutput.html"><CODE>OS_SetPrintOutput</CODE></A>.</P>
38<P>This function is compiled with weak symbols. Therefore, you can overwrite them with your own function definitions.</P>
39<P>This function is used for debugging. It does not generate any output during a <code>FINALROM</code> build or when linked against <CODE>FINALROM</CODE> libraries.</P>
40
41<H2>See Also</H2>
42<P><CODE><A href="OS_TVPrintf.html">OS_TVPrintf</A></CODE></P>
43<H2>Revision History</H2>
44<P>2009/04/30 Added description of weak symbols. <BR>2008/01/12 Initial version.</P>
45<hr><p>CONFIDENTIAL</p></body>
46</HTML>