1al_ustr_get_next(3) al_ustr_get_next(3)
2
3
4
6 al_ustr_get_next - Allegro 5 API
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 byte offset *pos, then advance
15 to the next 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)