al_ustr_assign_cstr

bool al_ustr_assign_cstr(ALLEGRO_USTR *us1, const char *s)
Introduced in 5.0.0

Overwrite the string us with the contents of the C-style string s. Returns true on success, false on error.

See also: al_ustr_assign_substr, al_ustr_assign_cstr

Examples: ex_utf8


Most helpful discussions: