malloc()

KW Heuer kwh at bentley.UUCP
Fri May 16 13:49:39 AEST 1986


In article <479 at cit-vax.Caltech.Edu> cit-vax!jon writes:
>    I don't think 'void *' is useless. What do you  do	on  a  machine
>where it's NOT 'always legal to cast any pointer into a "char *"'?

You get a compiler that works.  The proposed property of "void *" is
already guaranteed for "char *".  (Sorry, no K&R handy, can't quote it.)

Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint



More information about the Comp.lang.c mailing list