bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] iconv(3), E2BIG, and outbuf, outbytesleft


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] iconv(3), E2BIG, and outbuf, outbytesleft
Date: Fri, 23 Sep 2011 21:46:28 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Jeffrey Walton wrote:
> I was trying to work from a single page on the stack, and feed the
> converted text [on the stack] into the output string one page at a
> time.

Yes, that's how iconv() is supposed to be used if you want to convert
large strings with a limited amount of additional memory ("streamed
conversion").

Bruno
-- 
In memoriam Ghazala Khan <http://en.wikipedia.org/wiki/Ghazala_Khan>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]