Re: The difference between 0 and NULL?
From: Nils Weller (me_at_privacy.net)
Date: 06/23/05
- Previous message: Gordon Burditt: "Re: The difference between 0 and NULL?"
- In reply to: Gordon Burditt: "Re: The difference between 0 and NULL?"
- Next in thread: Chris Friesen: "Re: The difference between 0 and NULL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Jun 2005 15:58:02 GMT
In article <11blmmbgdkudha0@corp.supernews.com>, Gordon Burditt wrote:
> [...]
> If you're trying to imply here that there are NO systems that will
> give you address 0 mapped without asking specially for it, that's
> not correct (PDP-11 running UNIX v6 I believe is an example).
Two more relevant examples are HP-UX and AIX. Page zero on these systems
is usually mapped read-only. On HP-UX, the way you invoke the linker
determines whether it is or isn't mapped; HP's compiler invokes it such
that it is mapped, gcc does not. The chatr program can be used to change
this setting as well. I know of no way to turn this off on AIX, but
there may well be one.
-- Nils R. Weller, Bremen / Germany My real email address is ``nils<at>gnulinux<dot>nl'' ... but I'm not speaking for the Software Libre Foundation!
- Previous message: Gordon Burditt: "Re: The difference between 0 and NULL?"
- In reply to: Gordon Burditt: "Re: The difference between 0 and NULL?"
- Next in thread: Chris Friesen: "Re: The difference between 0 and NULL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|