Re: [dwm] malloc'ed client in manage()

From: Szabolcs Nagy <>
Date: Sun, 7 Sep 2008 13:53:11 +0200

On 9/7/08, Nicolas Martyanoff <> wrote:
> I think it's quite explicit: the NULL macro expands to 0.

NULL macro does not necessaryly expands to 0, but this is basic
knowledge look it up in the standard.

what am i concerned about is the internal null pointer representation
(which has nothing to do wether NULL is defined 0 or not)

it is explicitely stated in c99 that there might be architectures
where memset(&p, 0, sizeof(p)) is not equivalent to p=0;
Received on Sun Sep 07 2008 - 11:53:11 UTC

This archive was generated by hypermail 2.2.0 : Sun Sep 07 2008 - 12:00:07 UTC