.\" Automatically generated by Pandoc 3.1.3 .\" .\" 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_find_chr" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_ustr_find_chr - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include int al_ustr_find_chr(const ALLEGRO_USTR *us, int start_pos, int32_t c) \f[R] .fi .SH DESCRIPTION .PP Search for the encoding of code point \f[V]c\f[R] in \f[V]us\f[R] from byte offset \f[V]start_pos\f[R] (inclusive). .PP Returns the position where it is found or -1 if it is not found. .SH SEE ALSO .PP al_ustr_rfind_chr(3alleg5)