Bellybutton lint

utzoo!decvax!duke!ucf-cs!lantz utzoo!decvax!duke!ucf-cs!lantz
Sat Apr 23 14:55:58 AEST 1983


    I've always wondered why NULL isn't defined in stdio as ((char *)0).
Is there some good reason, or is just because on most systems it isn't
necessary?
    This would make the call
	execl("whatever", "whatever", NULL);
correct regardless of the relative sizes of integers and pointers.

					Philip Lantz
					duke!ucf-cs!lantz



More information about the Comp.lang.c mailing list