1al_ustr_ncompare(3) Library Functions Manual al_ustr_ncompare(3)
23
4
NAME
6al_ustr_ncompare
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
int al_ustr_ncompare(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2, int n)
12
DESCRIPTION
14Like al_ustr_compare(3) but only compares up to the first n code points
15of both strings.
1617
Returns zero if the strings are equal, a positive number if us1 comes
18after us2, else a negative number.
1920
21
22
Allegro reference manual al_ustr_ncompare(3)