[dthorpe@inprise.com] libc/1840: Function result of iconv() is always zero in non-error case.

Ulrich Drepper drepper@redhat.com
Tue Aug 1 08:33:00 GMT 2000


Andreas Jaeger <aj@suse.de> writes:

> I just looked at iconv/tst-cionv1 - the return value of the iconv
> function in this example is 0.  AFAIK this is correct, isn't it?  Uli,
> can you look into this, please?

The return value is the number of inreversible conversions performed.
The current code (and that in 2.1.3, I think) is correct.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list