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:
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | s1 or s2 or pRetval is NULL |