Compares str1 and str2 like strcmp(). Handles null gracefully by sorting it before non-null strings. Comparing two null pointers returns 0.
a C string or null
another C string or null
an integer less than, equal to, or greater than zero, if str1 is <, == or > than str2.
Compares str1 and str2 like strcmp(). Handles null gracefully by sorting it before non-null strings. Comparing two null pointers returns 0.