1al_ustr_get_next(3) Library Functions Manual al_ustr_get_next(3)
2
3
4
6 al_ustr_get_next
7
9 #include <allegro5/allegro.h>
10
11 int32_t al_ustr_get_next(const ALLEGRO_USTR *us, int *pos)
12
14 Find the code point in us beginning at *pos, then advance to the next
15 code point.
16
17 On success return the code point value. If pos was out of bounds (e.g.
18 past the end of the string), return –1. On an error, such as an
19 invalid byte sequence, return –2. As with al_ustr_next(3), invalid
20 byte sequences may be skipped while advancing.
21
23 al_ustr_get(3), al_ustr_prev_get(3)
24
25
26
27Allegro reference manual al_ustr_get_next(3)