.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_ustr_insert_chr" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_ustr_insert_chr - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include size_t al_ustr_insert_chr(ALLEGRO_USTR *us, int pos, int32_t c) \f[R] .fi .SH DESCRIPTION .PP Insert a code point into \f[C]us\f[R] beginning at byte offset \f[C]pos\f[R]. \f[C]pos\f[R] cannot be less than 0. If \f[C]pos\f[R] is past the end of \f[C]us\f[R] then the space between the end of the string and \f[C]pos\f[R] will be padded with NUL (\f[C]\[aq]\[rs]0\[aq]\f[R]) bytes. .PP Returns the number of bytes inserted, or 0 on error. .SH SEE ALSO .PP al_ustr_insert(3alleg5), al_ustr_insert_cstr(3alleg5)