Re: unsigned char** argv



ais523 wrote:

According to a C89 draft, 'A pointer to void shall have
the same representation and alignment requirements as a pointer to a
character type. Other pointer types need not have the same
representation or alignment requirements.'; does this mean that void*
must have the same representation as all three pointer-to-character
types

Yes.

--
pete
.



Relevant Pages

  • Re: printf("%p ", (void *)0);
    ... The specific wording I am referring to is "same representation and alignment ... The standard requires that the type "pointer to void" has these specific ... the "same representation and alignment requirements" as specified for the ...
    (comp.lang.c)
  • Re: Function pointer question P119 K&R
    ... Buried deep in 3.1.2.5 we find that "A pointer to void shall have the same ... representation and alignment requirements as a pointer to a character ... 28)The same representation and alignment requirements are ...
    (comp.lang.c)
  • Re: two dimensional arrays:
    ... > FAQ 4.9 says void ** is not a generic pointer to pointer. ... > | the same representation and alignment requirements.28) All ... > | alignment requirements. ...
    (comp.lang.c)
  • Re: free memory question
    ... it is perfectly legal to return the pointer if you wish to do so. ... either an unspecified value or a trap representation" ... If the stored value of an object has such a representation and is ... read by an lvalue expression that does not have character type, ...
    (comp.lang.c)
  • Re: pointer alignment
    ... "j0mbolar" wrote in message ... > for any pointer to T, does a pointer to T have different or can have ... A pointer to void shall have the same representation and alignment ... shall have the same representation and alignment requirements as each other. ...
    (comp.lang.c)