mconv_stream_converter(3m17n) The m17n Library mconv_stream_converter(3m17n)NAME
mconv_stream_converter - Create a code converter bound to a stream.
SYNOPSIS
MConverter* mconv_stream_converter (MSymbol name, FILE * fp)
DESCRIPTION
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.
RETURN VALUE
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.
ERRORS
MERROR_SYMBOL, MERROR_CODING
SEE ALSO
mconv_buffer_converter()
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>.
Version 1.6.2 12 Jan 2011 mconv_stream_converter(3m17n)
Check Out this Related Man Page
mconv_gets(3m17n) The m17n Library mconv_gets(3m17n)NAME
mconv_gets - Read a line using a code converter.
SYNOPSIS
MText* mconv_gets (MConverter * converter, MText * mt)
DESCRIPTION
Read a line using a code converter. The mconv_gets() function reads one line from the buffer area or the stream that is currently bound to
code converter converter. The decoder of converter is used for decoding. The decoded character sequence is appended at the end of M-text
mt. The final newline character in the original byte sequence is not appended. The internal status of converter is updated appropriately.
RETURN VALUE
If the operation was successful, mconv_gets() returns the modified mt. If it encounters EOF without reading a single character, it
returns mt without changing it. If an error is detected, it returns NULL and assigns an error code to merror_code.
ERRORS
MERROR_CODING
SEE ALSO
mconv_getc(), mconv_ungetc(), mconv_putc()
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>.
Version 1.6.2 12 Jan 2011 mconv_gets(3m17n)
Hi everyone. I'm a newbies in using c++ in UNIX. And since then I only do maintenance coding not development. so far i understand c++ coding and OOP concepts.
currently i'm working onsomething for maintenance purpose.here's the situation :
below are my files :
source files:
advDisc.cpp ... (2 Replies)
hai,
this is nagalakshmi. i have a question in Unix C.
i need the coding for the file transfer and simulation of protocols in C
where i get the coding? (2 Replies)
Hi All,
I am new to pro*C. I have a select statement as
select a.ename,a.sal,a.empno from emp where &n=(select count(distinct(b.sal)) from emp b where a.sal<=b.sal
for this query I have to write a pro*C program. So can you please send me the complete code. Then I will foloow the same... (1 Reply)
Let's say for example that we have two different ways was can code the exact same program to achieve the same result.
What is the best way to determine which of the two methods is the best solution?
Is it as simple as basing it on how long the program takes to run or is there a more... (4 Replies)
I'm just starting a 'serious' coding in UNIX, so what I need is to run a C code on UNIX, What do I have to install (app) prior to coding/running the code and how do I compile that code?
can I write my c code in UNIX or I need to have a visual studio for this? (7 Replies)
Dear All,
I have a file like:
If $4=2001, a duplicated line will be inserted and $4 will be assigned value 2011; so that the new file would be:
How to write awk to accomplish this? thank you very much! (5 Replies)
What are the basic conditions to use other people's library in C/C++ coding?
Here I do not mean the compiling step, but at the step of writing source code (from scratch in a way!).
When using Standard C/C++ Library normally the header (.h/hpp) and corresponding implementation (.c/.cpp) files are... (7 Replies)