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_FPutString</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">OS_FPutString <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 <nitro/os.h></CODE><BR> 15 <BR> 16 <CODE>void OS_FPutString( int console, const char* str );</CODE><BR> 17 <BR> 18 (This is actually a function pointer) 19</DL> 20<H2>Arguments</H2> 21<TABLE border="1"> 22 <TBODY> 23 <TR> 24 <TD><B><I>console</I></B></TD> 25 <TD>Output window.</TD> 26 </TR> 27 <TR> 28 <TD><B><I>str</I></B></TD> 29 <TD>Display string</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 <CODE><A href="OS_PutString.html">OS_PutString()</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_PutString.html">OS_PutString()</A></CODE>, so be sure to refer to that page.</P> 37<P><B><I>console</I></B> is used to specify the output destination, and can take values (window numbers) between 0 and 3, as well as <CODE>OS_PRINT_OUTPUT_NONE</CODE> and <CODE>OS_PRINT_OUTPUT_CURRENT</CODE>. Nothing will be output if you specify <CODE>OS_PRINT_OUTPUT_NONE</CODE>. Specifying <CODE>OS_PRINT_OUTPUT_CURRENT</CODE> will output to the standard output destination that was specified using <CODE><A href="OS_SetPrintOutput.html">OS_SetPrintOutput()</A></CODE>.</P> 38<P>This function is used for debugging. It does not perform any output in FINALROM versions of the library.</P> 39<H2>Internal Operation</H2> 40<P>This function is actually a function pointer like the following:</P> 41<BLOCKQUOTE><CODE>void (*OS_FPutString)( int console, const char* str );</CODE></BLOCKQUOTE> 42<P>In addition, it changes the display function depending on the operating environment.</P> 43<H2>See Also</H2> 44<P><CODE><A href="OS_PutString.html">OS_PutString</A><BR></CODE></P> 45<H2>Revision History</H2> 46<P>2008/01/12 Initial version.</P> 47<hr><p>CONFIDENTIAL</p></body> 48</HTML>