On Feb 24, 2012, at 6:50 AM, Oleg Krupnov <oleg.krup...@gmail.com> wrote: > I also heard that generally speaking NULL is not necessarily always > equal to 0 on all architectures.
In practice, NULL is always 0. Any exceptions were ancient historical oddities that you can ignore. In principle, the C language says that NULL must behave as if it were zero, but that the bit pattern of a null pointer in memory is not necessarily zero. http://c-faq.com/null/machnon0.html http://c-faq.com/null/varieties.html http://c-faq.com/null/machexamp.html -- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com