1al_ref_buffer(3) Library Functions Manual al_ref_buffer(3)
2
3
4
6 al_ref_buffer
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_USTR *al_ref_buffer(ALLEGRO_USTR_INFO *info, const char *s, size_t size)
12
14 Like al_ref_cstr(3) but the size of the string data is passed in as a
15 parameter. Hence you can use it to reference only part of a string or
16 an arbitrary region of memory.
17
18 The string is valid while the underlying C string is valid.
19
21 al_ref_cstr(3), al_ref_ustr(3)
22
23
24
25Allegro reference manual al_ref_buffer(3)