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

NAME

6       al_ustr_dup_substr
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
16       interval [start_pos, end_pos).  The new string will be  NUL  terminated
17       and will need to be freed with al_ustr_free(3).
18
19       If  you  need a range of code-points instead of bytes, use al_ustr_off‐
20       set(3) to find the byte offsets.
21

SEE ALSO

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