al_ustr_dup

ALLEGRO_USTR *al_ustr_dup(const ALLEGRO_USTR *us)
Introduced in 5.0.0

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

See also: al_ustr_dup_substr

Examples: ex_utf8


Most helpful discussions: