low_str_strncmp Compare characters of two strings.
l_int low_str_strncmp ( cl_text s1, cl_text s2, l_size_t max ); Return Value
The return value indicates the relation of the substrings of @s1 and @s2 as follows.
Return Value Description < 0 @s1 substring less than @s2 substring 0 @s1 substring identical to @s2 substring > 0 @s1 substring greater than @s2 substring
Parameters
s1, s2
Strings to compare
max
Number of characters to compare
Remarks
The low_str_strncmp function lexicographically compares, at most, the first @max characters in @s1 and @s2 and returns a value indicating the relationship between the substrings. low_str_strncmp is a case-sensitive version of low_str_strnicmp.