Utilities/RB_Str_Case_Cmp [ Functions ]
FUNCTION
Compare two strings, regardless of the case of the characters.
SYNOPSIS
int RB_Str_Case_Cmp( char *s, char *t )
RESULT
0 s == t -1 s < t 1 s > t
SOURCE
{ assert( s ); assert( t ); for ( ; tolower( *s ) == tolower( *t ); s++, t++ ) { if ( *s == '\0' ) { return 0; } } return ( int ) ( tolower( *s ) - tolower( *t ) ); }