Xenix286 Wonders, Bugs, and Patches...

VLD/VMB gwyn at Brl.ARPA
Fri May 10 06:38:31 AEST 1985


You will undoubtedly get a dozen messages saying this, but there
is a world of difference between assigning 0 to a pointer (or
testing a pointer against 0) and passing an (int)0 to a function
where a (whatever *)0 is required.  The latter is not only not
guaranteed to work, it is guaranteed NOT to work on machines with
different sizes for (int) and (whatever *).



More information about the Comp.unix.wizards mailing list