Re: void * in ANSC
Peter Nilsson wrote:
> How many bytes does the following access?
>
> memcpy(foo, bar, 0);
>
> If it's none, then why should *memcpy(foo, bar, 0) be
> any different? If it isn't different, then why should
> dereferencing a volatile void pointer be any different?
Ok, another example:
volatile struct incomplete *foo = a_function_returning_a_struct_pointer();
*foo;
How many bytes does the statement access?
--
Army1987 (Replace "NOSPAM" with "email")
|