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.1.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>OS_PutString</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">OS_PutString <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_PutString( const char* str );</CODE><BR> 17 <BR> 18 (actually a function pointer) 19</DL> 20<H2>Arguments</H2> 21<TABLE border="1"> 22 <TBODY> 23 <TR> 24 <TD><B><I>str</I></B></TD> 25 <TD>Display string</TD> 26 </TR> 27 </TBODY> 28</TABLE> 29<H2>Return Values</H2> 30<P>None.</P> 31<H2>Description</H2> 32<P>Outputs a string. This function is used for debugging. It will not be included in the final ROM version (<code>FINALROM</code>).</P> 33<BLOCKQUOTE style="background-color:#ffffcc">Example:<br /> <code>OS_PutString( "test message\n" );</code></BLOCKQUOTE> 34<H2>Internal Operation</H2> 35<P>This function is actually a function pointer like the following:</P> 36<BLOCKQUOTE><CODE>void (*OS_PutString)( const char* str );</CODE></BLOCKQUOTE> 37<P>And it changes the display function depending on the operating environment.</P> 38<H2>See Also</H2> 39<P><CODE><A href="OS_Printf.html">OS_Printf</A><BR></CODE></P> 40<H2>Revision History</H2> 41<P>2004/11/25 Added Internal Operation.<BR>2003/12/01 Initial version.</P> 42<hr><p>CONFIDENTIAL</p></body> 43</HTML>