Function CSTL_u8string_compare

Source
pub unsafe extern "C" fn CSTL_u8string_compare(
    left: *const char8_t,
    right: *const char8_t,
) -> c_int
Expand description

Compare two null-terminated character sequences.

The return value is negative if left compares less than right, positive if it compares greater and zero if left and right compare equal.

There is no CSTL_UTF8String version of this function as the return value does not allow for reporting out of bounds errors.