[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnu-libiconv] iconv(3) return value
From: |
Jeffrey Walton |
Subject: |
[bug-gnu-libiconv] iconv(3) return value |
Date: |
Fri, 23 Sep 2011 11:54:39 -0400 |
Hi All,
According to http://www.gnu.org/s/libiconv/documentation/libiconv/iconv.3.html:
RETURN VALUE
The iconv function returns the number of characters converted in a
non-reversible way during this call; reversible conversions are not
counted. In case of error, it sets errno and returns (size_t)(-1).
I'm not clear if it is the number of characters in the input buffer,
or number of characters output buffer?
Jeff
- [bug-gnu-libiconv] iconv(3) return value,
Jeffrey Walton <=