Who maintains dpkg?
Posted Mar 18, 2008 19:42 UTC (Tue) by
dw (subscriber, #12017)
In reply to:
Who maintains dpkg? by dw
Parent article:
Who maintains dpkg?
Just to point out that the zero thing is a language feature, this is taken from this C99 draft (PDF):
6.3.2.3 3. An integer constant expression with the value 0, or such an expression cast to type void *, is called a null pointer constant. If a null pointer constant is converted to a pointer type, the resulting pointer, called a null pointer, is guaranteed to compare unequal to a pointer to any object or function.
Bjarne Stroustrup argues in the C++ FAQ for the direct use of 0 as opposed to NULL. I think the point he makes is that as something defined in the spec ("null pointer constant"), the semantic meaning of the literal 0 should be known and understood by every C programmer.
(
Log in to post comments)