.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_ustr_new_from_buffer" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_ustr_new_from_buffer - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_USTR *al_ustr_new_from_buffer(const char *s, size_t size) \f[R] .fi .SH DESCRIPTION .PP Create a new string containing a copy of the buffer pointed to by \f[C]s\f[R] of the given \f[C]size\f[R] in bytes. The string must eventually be freed with al_ustr_free(3alleg5). .SH SEE ALSO .PP al_ustr_new(3alleg5)