(char *)0 vs 0 vs (int *)0
DSullivan.CSC_SDO%hi-multics at sri-unix.UUCP
DSullivan.CSC_SDO%hi-multics at sri-unix.UUCP
Thu Feb 16 15:26:00 AEST 1984
On your Honeywell Level-6 GCOS system, there are a few interesting
sizeof values:
sizeof(int) == 2
sizeof(char *) == 6
sizeof(parm *) == 6
sizeof(int *) == 4 /* withing structures */ Now what size of 0 do
you want this time! It takes Lint to figure out why it dumped core on
well defined and working PDP-11 or VAX code. Bleck.
-- Drew (Just a lowly elf)
More information about the Comp.unix.wizards
mailing list