util_strcmp0


Description:


[ Version ( since = "3.32" ) ]
public int util_strcmp0 (string? str1, string? str2)

Compares str1 and str2 like g_strcmp0, except it handles null and empty strings as equal.

Parameters:

str1

a C string or null

str2

another C string or null

Returns:

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.


Namespace: E