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

al_ustr_dup - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_USTR *al_ustr_dup(const ALLEGRO_USTR *us)
    

Return a duplicate copy of a string. The new string will need to be freed with al_ustr_free(3alleg5).

al_ustr_dup_substr(3alleg5), al_ustr_free(3alleg5)

Allegro reference manual