1al_ustr_get(3)             Library Functions Manual             al_ustr_get(3)
2
3
4

NAME

6       al_ustr_get
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              int32_t al_ustr_get(const ALLEGRO_USTR *ub, int pos)
12

DESCRIPTION

14       Return the code point in us beginning at pos.
15
16       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
18       invalid byte sequence, return –2.
19

SEE ALSO

21       al_ustr_get_next(3), al_ustr_prev_get(3)
22
23
24
25Allegro reference manual                                        al_ustr_get(3)
Impressum