mtext_ncmp(3m17n)

mtext_ncmp3m17n

Usage

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

Overview

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.

Releases

8 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 7–12
  3. 13

From m17n-docs 1.8.4-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.