1al_ustr_get(3) Library Functions Manual al_ustr_get(3)
23
4
NAME
6al_ustr_get
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
int32_t al_ustr_get(const ALLEGRO_USTR *ub, int pos)
12
DESCRIPTION
14Return the code point in us beginning at pos.
1516
On success returns the code point value. If pos was out of bounds
17(e.g. past the end of the string), return –1. On an error, such as an
18invalid byte sequence, return –2.
19
SEE ALSO
21al_ustr_get_next(3), al_ustr_prev_get(3)
2223
24
25
Allegro reference manual al_ustr_get(3)