tech-userlevel archive

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

Re: iconv(3) and POSIX



On Thu, Jan 03, 2013 at 01:21:17PM -0500, Greg Troxel wrote:
> and this causes git to declare OLD_ICONV for NetBSD.  Our iconv_open
> also declares both arguments const, contrary to POISX.

Both are const char * in posix as well:

http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv_open.html

> So is this as bug to fix in the prototype?   Or if not, how should the
> manpage be changed?

The prototype should be fixed to "char **restrict src".

Martin


Home | Main Index | Thread Index | Old Index