mtext_ncmp.3m17n

Langue: en

Version: 23 Jun 2008 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

mtext_ncmp - Compare initial parts of two M-texts character-by-character.

SYNOPSIS

int mtext_ncmp (MText * mt1, MText * mt2, int n)

DESCRIPTION

Compare 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 VALUE

This function returns 1, 0, or -1 if mt1 is found greater than, equal to, or less than mt2, respectively.

SEE ALSO

mtext_cmp(), mtext_casecmp(), mtext_ncasecmp() mtext_compare(), mtext_case_compare()
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2008 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.