src/stdlib/stdstrng.c
/*===============================
 * eqstr_ex -- Are two strings equal (case-sensitive)?
 *  This is just eqstr extended to handle empty or null strings
 *  Like eqstr, this is byte-by-byte comparison, no locale, no UTF-8
 *=============================*/
- Are two strings equal (case-sensitive).
This is just eqstr extended to handle empty or null strings
Like eqstr, this is byte-by-byte comparison, no locale, no UTF-8
- Are two strings equal ( case - sensitive ) . This is just eqstr extended to handle empty or null strings Like eqstr this is byte - by - byte comparison no locale no UTF - 8
BOOLEAN
eqstr_ex (CNSTRING s1, CNSTRING s2)
{
	if (!s1 || !s1[0]) {
		if (!s2 || !s2[0])
			return TRUE;
		else
			return FALSE;
	} else {
		if (!s2 || !s2[0])
			return FALSE;
		else
			return eqstr(s1, s2);
	}
}
BOOLEAN eqstr_ex ( CNSTRING s1 , CNSTRING s2 ) { if ( ! s1 || ! s1 [ 0 ] ) { if ( ! s2 || ! s2 [ 0 ] ) return TRUE ; else return FALSE ; } else { if ( ! s2 || ! s2 [ 0 ] ) return FALSE ; else return eqstr ( s1 , s2 ) ; } }
eqstr_ex -- Are two strings equal (case-sensitive)?
eqstr_ex -- Are two strings equal ( case - sensitive ) ?