Please use NULL instead of 0 whenever you have a pointer!

ron%brl-vgr at sri-unix.UUCP ron%brl-vgr at sri-unix.UUCP
Sun Jan 15 20:50:08 AEST 1984


From:      Ron Natalie <ron at brl-vgr>

I'm sorry but whoever claimed NULL was the same as zero was correct.
Zero is the only integer you are assured to be able to assign to or
compare with a pointer.  If you can't it is a bug with your C implementation.

-Ron



More information about the Comp.unix.wizards mailing list