DOKK / manpages / debian 10 / allegro5-doc / al_ustr_new_from_buffer.3alleg5.en
al_ustr_new_from_buffer(3alleg5) al_ustr_new_from_buffer(3alleg5)

al_ustr_new_from_buffer - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_USTR *al_ustr_new_from_buffer(const char *s, size_t size)
    

Create a new string containing a copy of the buffer pointed to by s of the given size in bytes. The string must eventually be freed with al_ustr_free(3alleg5).

al_ustr_new(3alleg5)

Allegro reference manual