Subject: Re: iconv(3) prototype
To: None <tech-userlevel@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 07/28/2004 11:50:59
> If you could convert from "char **" to "const char **",
> you can convert "const char *" to "char *" _without any cast_.
You can do that already (with memcpy):
char *a
const char *b;
memcpy(&a,&b,sizeof(char *));
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B