1al_ustr_dup_substr(3)                                    al_ustr_dup_substr(3)
2
3
4

NAME

6       al_ustr_dup_substr - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              ALLEGRO_USTR *al_ustr_dup_substr(const ALLEGRO_USTR *us, int start_pos,
12                 int end_pos)
13

DESCRIPTION

15       Return  a new copy of a string, containing its contents in the byte in‐
16       terval [start_pos, end_pos).  The new string will be NUL terminated and
17       will need to be freed with al_ustr_free(3).
18
19       If necessary, use al_ustr_offset(3) to find the byte offsets for a giv‐
20       en code point that you are interested in.
21

SEE ALSO

23       al_ustr_dup(3), al_ustr_free(3)
24
25
26
27Allegro reference manual                                 al_ustr_dup_substr(3)
Impressum