1al_ustr_insert_chr(3) Library Functions Manual al_ustr_insert_chr(3)
2
3
4
6 al_ustr_insert_chr
7
9 #include <allegro5/allegro.h>
10
11 size_t al_ustr_insert_chr(ALLEGRO_USTR *us, int pos, int32_t c)
12
14 Insert a code point into us beginning at byte offset pos. pos cannot
15 be less than 0. If pos is past the end of us then the space between
16 the end of the string and pos will be padded with NUL (`\0') bytes.
17
18 Returns the number of bytes inserted, or 0 on error.
19
21 al_ustr_insert(3), al_ustr_insert_cstr(3)
22
23
24
25Allegro reference manual al_ustr_insert_chr(3)