Re: dpkg semi-hijack - an announcement (also, triggers)
On Sun, Mar 09, 2008 at 06:34:48PM +0100, Pierre Habouzit wrote:
> Here is the relevant C99 quote:
> § 7.17 Common deﬁnitions <stddef.h>
> 3 The macros are
> which expands to an implementation-deﬁned null pointer constant; and
> 0 is not a pointer, hence disqualifies.
Just to confirm Kurt's point, 0 is a "null pointer constant" in C.
But it is not necessarily a pointer. You can't terminate a varargs
list of pointers (e.g. execl) with NULL unless you cast it.