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