man mconv_stream_converter () - Create a code converter bound to a stream.

NAME

mconv_stream_converter - Create a code converter bound to a stream.

SYNOPSIS

MConverter* mconv_stream_converter (MSymbol name, FILE * fp)

DESCRIPTION

The mconv_stream_converter() function creates a pointer to a code converter for coding system name. The code converter is bound to stream fp. Subsequent decodings and encodings are done to/from this stream.

name

can be Mni. In this case, a coding system associated with the current locale (LC_CTYPE) is used.

Return value: If the operation was successful, mconv_stream_converter().RS 4 returns the created code converter. Otherwise it returns NULL and assigns an error code to the external variable merror_code.

ERRORS

MERROR_SYMBOL, MERROR_CODING

SEE ALSO

mconv_buffer_converter()