.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .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[V]s\f[R] of the given \f[V]size\f[R] in bytes. The string must eventually be freed with al_ustr_free(3alleg5). .SH SEE ALSO .PP al_ustr_new(3alleg5)