DOKK / manpages / debian 10 / m17n-docs / mconv_stream_converter.3m17n.en
mconv_stream_converter(3m17n) The m17n Library mconv_stream_converter(3m17n)

mconv_stream_converter - Create a code converter bound to a stream.

MConverter* mconv_stream_converter (MSymbol name, FILE * fp)

Create a code converter bound to a stream. 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 Mnil. In this case, a coding system associated with the current locale (LC_CTYPE) is used.

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

MERROR_SYMBOL, MERROR_CODING

mconv_buffer_converter()

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>.

12 Jan 2011 Version 1.6.2