---
name: "mchartable_lookup"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mchartable_lookup"
---

# mchartable\_lookup(3m17n)

## NAME

mchartable\_lookup -

## SYNOPSIS

void\* **mchartable\_lookup** (**MCharTable** \* *table*, int *c*)

## DESCRIPTION

Return the assigned value of a character in a chartable. The **mchartable\_lookup()** function returns the value assigned to character **c** in chartable **table**. If no value has been set for **c** explicitly, the default value of **table** is returned. If **c** is not a valid character, **mchartable\_lookup()** returns `NULL` and assigns an error code to the external variable **merror\_code**. \

## ERRORS

`MERROR_CHAR`

## SEE ALSO

**mchartable\_set()**\

## COPYRIGHT

Copyright (C) 2001 Information-technology Promotion Agency (IPA)\
 Copyright (C) 2001-2011 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\>.
