NULL vs 0

G.TOMASEVICH 54394gt at hocda.UUCP
Thu Jan 19 04:38:05 AEST 1984


Why all this fuss about NULL vs 0?  Just define a set of NUL's:
#define INUL	(int*)0
#define CNUL	(char*)0
#define FNUL	(struct foo*)0
and so on, whatever you need.



More information about the Comp.unix.wizards mailing list