openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_StrcaseCmp()

int32_t BSL_SAL_StrcaseCmp ( const char *  str1,
const char *  str2 
)

String comparison.

String comparison

Attention
None.
Parameters
str1[IN] First string to be compared.
str2[IN] Second string to be compared.
Return values
Ifthe parameter is abnormal, BSL_NULL_INPUT is returned.
Ifthe strings are the same, 0 is returned; Otherwise, the difference between different characters is returned.