Re: using literal zero for NULL



On Wed, 22 Mar 2006, Alan M. Evans wrote:

> In fact, an unadorned zero works perfectly well in all cases except
> unprototyped function parameters. (This thread started with the error of
> passing zero in varargs, which are technically unprototyped even when
> the function is prototyped.)

To reword: In fact zero works in all valid cases except for those
valid cases that it doesn't.

Thanks :).

Ok, lets end this thread and get back to work.

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]