logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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