Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mconv_stream_converter(3m17n) [debian man page]

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)
Man Page

9 More Discussions You Might Find Interesting

1. Programming

my problems with MAKEFILE command

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)
Discussion started by: aliasunway
2 Replies

2. Programming

where i get coding for networking in C?

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)
Discussion started by: xpertlakshmi
2 Replies

3. UNIX for Dummies Questions & Answers

pro*c coding

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)
Discussion started by: user71408
1 Replies

4. AIX

need help for coding this logic

contact me on <email address deleted> or <email address deleted> (1 Reply)
Discussion started by: suprithhr
1 Replies

5. Shell Programming and Scripting

Suggestions/Recommendations for coding

#!/bin/sh #set -x uploaddir="/u01/app/informatica/dev3/sample/GPMDir/UploadDir" processdir="/u01/app/informatica/dev3/sample/GPMDir/ProcessDir" datetime=`date +%Y%m%d` logdir="$processdir/GPMLogFile_$datetime.log" echo "<---------------Start Copying & Moving GPM Files To Process... (0 Replies)
Discussion started by: Ariean
0 Replies

6. Programming

How to evaluate which coding approach is best?

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)
Discussion started by: jmvbxx
4 Replies

7. Solaris

Getting Started in UNIX - incorporating C coding

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)
Discussion started by: Peevish
7 Replies

8. Shell Programming and Scripting

awk to insert new line conditionally

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)
Discussion started by: littlewenwen
5 Replies

9. Programming

Conditions/suggestions to use shared library in C/C++ coding

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)
Discussion started by: yifangt
7 Replies