Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Description

       Return the position of the first occurrence of a character in an M-text. The mtext_chr() function
       searches M-text mt for character c. The search starts from the beginning of mt and goes toward the end.

Errors

           MERROR_RANGE

Name

       mtext_chr -

Return Value

           If c is found, mtext_chr() returns its position; otherwise it returns -1.

See Also

mtext_rchr(), mtext_character()

Synopsis

       int mtext_chr (MText * mt, int c)

See Also