[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Arguments for a module loader
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 7 Aug 2012 18:16:14 +0200
On Tue, Aug 7, 2012 at 6:11 PM, Sean Conner <sean@conman.org> wrote:
> ; of a 0. Even though NULL is 0, using NULL portrays the intent
> ; better than a 0. It also stands out more.
And when using varargs in C, NULL is your friend. On some 64-bit
systems, it can be the difference in passing a 32-bit zero or a 64-bit
NULL pointer. Hence the C habit of defining NULL as (void*)0.
steve d.