[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: NULL pointers.

From: Patrick Mayweg <mayweg_at_qint.de>
Date: 2003-10-14 07:33:18 CEST

Hi Marc,
the last time I have seen a NULL that was not 0, was in 1994 on a Prime
computer with the PrimOs operating system. They used all bits set a NULL.
Regards,
Patrick

Marc Singer wrote:

> On Mon, Oct 13, 2003 at 11:10:12PM -0400, Daniel Berlin wrote:
> > "An integer constant expression with the value 0, or such an expression
> > cast to type void *, iscalled anull pointer constant.
>
> Again, this isn't the point. Yes, you are well acquainted with the C
> standard. Nice work. However, I'm not talking about the C standard.
> I'm talking about the machine representations.
>
> AFAIK, there are no representations of null that are not zero.
> Initializers of zero work properly, BSS initialization works properly,
> as does bzero'ing a region of memory.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 14 07:34:15 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.