1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.2.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>STD_CompareString</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">STD_CompareString <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16<dl> 17 <dd><PRE><CODE>#include <nitro/std.h> 18 19int STD_CompareString( const char* str1, const char* str2 );</CODE></PRE> 20 <PRE><CODE>int STD_StrCmp( const char* str1, const char* str2 ); 21</CODE></PRE></dd> 22</dl> 23 24<h2>Arguments</h2> 25<table border="1" width="100%"> 26 <tbody> 27 <TR> 28 <TD width="200"><EM><STRONG><FONT face="Courier New">str1</FONT></STRONG></EM></TD> 29 <TD width="800">Specifies the pointer to the compared string.</TD> 30 </TR> 31 <TR> 32 <TD width="200"><EM><STRONG><FONT face="Courier New">str2</FONT></STRONG></EM></TD> 33 <TD width="800">Specifies the pointer to the compared string.</TD> 34 </TR> 35 </tbody> 36</table> 37 38<h2>Return Values</h2> 39<p> 40Returns 0 if the compared strings are the same. 41</p> 42 43<H2>Description</H2> 44<P> 45Compares charstring <EM><STRONG><CODE>str1</CODE></STRONG></EM> and charstring <EM><STRONG><CODE>str2</CODE></STRONG></EM>. It carries out the same operation as the C standard function <CODE>strcmp()</CODE>.</P> 46<p><CODE>STD_StrCmp()</CODE> is defined as another name for <CODE>STD_StrCompareString()</CODE>.</p> 47 48<h2>See Also</h2> 49<p><CODE><A href="STD_CompareNString.html">STD_CompareNString</A>, <A href="STD_CompareLString.html">STD_CompareLString</A></CODE></p> 50 51<H2>Revision History</H2> 52<P> 532005/10/05 Initial version. 54</P> 55<hr><p>CONFIDENTIAL</p></body> 56</html> 57