1al_ref_buffer(3) al_ref_buffer(3)
2
3
4
6 al_ref_buffer - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 const ALLEGRO_USTR *al_ref_buffer(ALLEGRO_USTR_INFO *info, const char *s, size_t size)
12
14 Create a string that references the storage of an underlying buffer.
15 The size of the buffer is given in bytes. You can use it to reference
16 only part of a string or an arbitrary region of memory.
17
18 The string is valid while the underlying memory buffer is valid.
19
21 al_ref_cstr(3), al_ref_ustr(3)
22
23
24
25Allegro reference manual al_ref_buffer(3)