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

NAME

6       al_ustr_prev_get
7

SYNOPSIS

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

DESCRIPTION

14       Find  the  beginning of a code point before *pos, then return it.  Note
15       this performs a pre-increment.
16
17       On success returns the code point value.  If  pos  was  out  of  bounds
18       (e.g.  past the end of the string), return –1.  On an error, such as an
19       invalid byte sequence, return –2.   As  with  al_ustr_prev(3),  invalid
20       byte sequences may be skipped while advancing.
21

SEE ALSO

23       al_ustr_get_next(3)
24
25
26
27Allegro reference manual                                   al_ustr_prev_get(3)
Impressum