1al_ustr_compare(3) al_ustr_compare(3)
2
3
4
6 al_ustr_compare - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 int al_ustr_compare(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2)
12
14 This function compares us1 and us2 by code point values. Returns zero
15 if the strings are equal, a positive number if us1 comes after us2,
16 else a negative number.
17
18 This does not take into account locale-specific sorting rules. For
19 that you will need to use another library.
20
22 al_ustr_ncompare(3), al_ustr_equal(3)
23
24
25
26Allegro reference manual al_ustr_compare(3)