man mchartable_set () - Assign a value to a character in a chartable.

NAME

mchartable_set - Assign a value to a character in a chartable.

SYNOPSIS

int mchartable_set (MCharTable * table, int c, void * val)

DESCRIPTION

The mchartable_set() function sets the value of character c in chartable table to val.

RETURN VALUE

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

ERRORS

MERROR_CHAR

SEE ALSO

mchartable_lookup(), mchartable_set_range()