1al_ustr_ncompare(3)                                        al_ustr_ncompare(3)
2
3
4

NAME

6       al_ustr_ncompare - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              int al_ustr_ncompare(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2, int n)
12

DESCRIPTION

14       Like al_ustr_compare(3) but only compares up to the first n code points
15       of both strings.
16
17       Returns zero if the strings are equal, a positive number if  us1  comes
18       after us2, else a negative number.
19

SEE ALSO

21       al_ustr_compare(3), al_ustr_equal(3)
22
23
24
25Allegro reference manual                                   al_ustr_ncompare(3)
Impressum