On Wed, Mar 03, 2010 at 12:58:33PM -0500, Greg A. Woods wrote:
> I believe that __UNCONST() in particular is _never_ absolutely necessary
> -- it may sometimes save a very few cycles and a few bytes of storage,
> but that's the best it can do.

At least one important interface would use its purpose without
__UNCONST. I'm talking about writev -- if you have to copy all constants
first, because struct iovec has a void * as iov_base, it stops making
sense to use writev in first place.

There is the general issue of const char ** vs char * const * in POSIX
to be considered as well.

Joerg

Reply via email to