register unions

Doug Gwyn gwyn at brl-smoke.ARPA
Thu Feb 25 00:34:39 AEST 1988


In article <686 at cresswell.quintus.UUCP> ok at quintus.UUCP (Richard A. O'Keefe) writes:
>(void*) has to handle the worst case, and is usually much the same as (char*).

As of the last draft proposed ANSI C standard, (void *) and (char *) are
required to have the same representation.  This is to grandfather in
existing programs that use routines like fwrite() that really should
always have received generic pointers, but historically have (correctly)
been fed (char *)s.



More information about the Comp.lang.c mailing list