![]() |
![]()
| ![]() |
![]()
NAMEmtext_ncmp - SYNOPSISint mtext_ncmp (MText * mt1, MText * mt2, int n) DESCRIPTIONCompare initial parts of two M-texts character-by-character. The mtext_ncmp() function is similar to mtext_cmp(), but compares at most n characters from the beginning. RETURN VALUEThis function returns 1, 0, or -1 if mt1 is found
greater than, equal to, or less than mt2, respectively.
SEE ALSOmtext_cmp(), mtext_casecmp(),
mtext_ncasecmp() mtext_compare(), mtext_case_compare()
COPYRIGHTCopyright (C) 2001 Information-technology Promotion Agency (IPA)
|