Subject: Re: iconv(3) prototype
To: Christos Zoulas <christos@zoulas.com>
From: Andrew Brown <atatat@atatdot.net>
List: tech-userlevel
Date: 07/27/2004 22:17:19
On Mon, Jul 26, 2004 at 02:44:54PM -0400, Christos Zoulas wrote:
>
>We have:
>
>size_t
>iconv(iconv_t, const char **restrict, size_t *restrict,
>    char **restrict, size_t *restrict);
>
>X/Open wants:
>
>size_t
>iconv(iconv_t, char **restrict, size_t *restrict,
>    char **restrict, size_t *restrict);
>
>What gives?

other than the periodic pain inflicted on the callee by const
(grr...strtol(3)), what kind of program would have trouble with our
iconv() but not the x/open one?

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."