mtext_coll(3m17n)

mtext_coll3m17n

Usage

int mtext_coll (MText * mt1, MText * mt2)

Overview

Compare two M-texts using the current locale. The mtext_coll() function compares the two M-texts mt1 and mt2. It returns an integer less than, equal to, or greater than zero if mt1 is found, respectively, to be less than, to match, or to be greater than mt2. The comparison is based on texts as appropriate for the current locale (LC_COLLATE).

This function makes use of information that is automatically cached in the M-texts as a text property. So, the second call of this function with mt1 or mt2 finishes faster than the first call.

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.