Compares str1 and str2 like g_strcmp0, except it handles null and empty strings as equal.
str1
str2
g_strcmp0
null
a C string on null
another C string or null
an integer less than 0 when str1 is before str2; 0 when the strings are equal and an integer greated than 0 when str1 is after str2.