.\" 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_ref_buffer" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_ref_buffer - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include const ALLEGRO_USTR *al_ref_buffer(ALLEGRO_USTR_INFO *info, const char *s, size_t size) \f[R] .fi .SH DESCRIPTION .PP Create a string that references the storage of an underlying buffer. The size of the buffer is given in bytes. You can use it to reference only part of a string or an arbitrary region of memory. .PP The string is valid while the underlying memory buffer is valid. .SH SEE ALSO .PP al_ref_cstr(3alleg5), al_ref_ustr(3alleg5)