# STD_CompareLString

## C Specification

      #include <nitro/std.h>

      int STD_CompareLString( const char* str1, const char* str2 );

      int STD_StrLCmp( const char* str1, const char* str2 );

## Arguments

str1 | Specifies the pointer to the compared string.
str2 | Specifies the pointer to the compared string.

## Return Values

Returns 0 if the compared strings are the same.

## Description

Compares only the length of `str2` in charstring `str1` and charstring `str2`. The C standard function carries out the same operation as `strlcmp()`.

`STD_StrLCmp()` is defined as another name for `STD_StrCompareLString()`.

## See Also

`STD_CompareString, STD_CompareNString`

## Revision History

10/05/2005 Initial version.