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_FWarning</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">OS_FWarning <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>
15  <BR>
16  <CODE>void OS_FWarning( int console, const char *fmt, ... );</CODE>
17</DL>
18<H2>Arguments</H2>
19<TABLE border="1">
20  <TBODY>
21    <TR>
22      <TD><B><I>console</I></B></TD>
23      <TD>Output window.</TD>
24    </TR>
25    <TR>
26      <TD><I><B>fmt</B></I></TD>
27      <TD>Output format string.</TD>
28    </TR>
29    <TR>
30      <TD><I><B>...</B></I></TD>
31      <TD>Variable number of arguments.</TD>
32    </TR>
33  </TBODY>
34</TABLE>
35<H2>Return Values</H2>
36<P>None.</P>
37<H2>Description</H2>
38<P>This is a version of <CODE><A href="OS_Warning.html">OS_Warning()</A></CODE> 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_Warning.html">OS_Warning()</A></CODE>, so be sure to refer to that page.</P>
39<P><B><I>console</I></B> is used to specify the output destination and can take values from 0 to 3, indicating the window number. Specify <CODE>OS_PRINT_OUTPUT_NONE</CODE> to output nothing. Specifying <CODE>OS_PRINT_OUTPUT_CURRENT</CODE> will output to the error output destination that was specified using <CODE><A href="OS_SetPrintOutput.html">OS_SetPrintOutput()</A></CODE>.</P>
40<P>This function is used for debugging. It does not perform any output in FINALROM versions of the library.</P>
41<H2>Internal Operation</H2>
42<P><CODE>OS_FWarning()</CODE> is actually a <code>#define</code> of <CODE>OSi_FWarning()</CODE>. <CODE>OSi_FWarning()</CODE> is compiled with weak symbols. Therefore you can overwrite them with your own function definitions.</P>
43<H2>See Also</H2>
44<P><CODE><A href="OS_Warning.html">OS_Warning</A></CODE></P>
45<H2>Revision History</H2>
46<P>2008/01/12 Initial version.</P>
47<hr><p>CONFIDENTIAL</p></body>
48</HTML>