The stcmpr() function

The stcmpr() function compares two null-terminated strings.

Syntax

mint stcmpr(s1, s2)
   char *s1, *s2;
s1
A pointer to the first null-terminated string.
s2
A pointer to the second null-terminated string.
Important: When “s" appears after “s2" in the ASCII collation sequence, “s1"? is greater than “s2�?.

Return values

=0
The two strings are identical.
<0
The first string is less than the second string.
>0
The first string is greater than the second string.