.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_ustr_ncompare" "3" "" "Allegro reference manual" .SH NAME al_ustr_ncompare \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] int al_ustr_ncompare(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2, int n) .EE .SH DESCRIPTION Like al_ustr_compare(3) but only compares up to the first \f[CR]n\f[R] code points of both strings. .PP 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. .SH SEE ALSO al_ustr_compare(3), al_ustr_equal(3)