virtual P6R::P6ERR P6R::p6ISafeString::strnicmp ( const P6R::P6CHAR *  pStr1,
const P6R::P6CHAR *  pStr2,
P6R::P6SIZE  length,
P6R::P6INT32 *  pRetval 
) [pure virtual]

Case insensitively lexographically compares at most the first length character of the two specified strings.

The comparison stops as soon as a NULL character is found in either of the two strings before reaching length characters.

Parameters:
pStr1 [in] A pointer to the first NULL terminated string to compare.
pStr2 [in] A pointer to the second NULL terminated string to compare.
length [in] The maximum number of charaters to compare.
pRetval [out] A pointer to a P6R::P6INT32 in which will be placed the result of the comparison indicating the relationship between the strings.
Returns:
SuccessP6R::eOk 
FailureP6R::eInvalidArgs1 or s2 or pRetval is NULL
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.