.\" Automatically generated by Pandoc 3.4 .\" .TH "al_ustr_compare" "3" "" "Allegro reference manual" .SH NAME al_ustr_compare \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] int al_ustr_compare(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2) .EE .SH DESCRIPTION This function compares \f[CR]us1\f[R] and \f[CR]us2\f[R] by code point values. Returns zero if the strings are equal, a positive number if \f[CR]us1\f[R] comes after \f[CR]us2\f[R], else a negative number. .PP This does \f[I]not\f[R] take into account locale\-specific sorting rules. For that you will need to use another library. .SH SEE ALSO al_ustr_ncompare(3), al_ustr_equal(3)