mchar_map_charset(3m17n)

mchar_map_charset3m17n

Usage

int mchar_map_charset (MSymbol charset_name, void(*)(int from, int to, void *arg) func, void * func_arg)

Overview

Call a function for all the characters in a specified charset. The mcharset_map_chars() function calls func for all the characters in the charset named charset_name. A call is done for a chunk of consecutive characters rather than character by character.

func receives three arguments: from, to, and arg. from and to specify the range of character codes in charset. arg is the same as func_arg.

Return value

If the operation was successful, mcharset_map_chars() returns 0. Otherwise, it returns -1 and assigns an error code to the external variable merror_code.

Errors

MERROR_CHARSET

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.