In article <[EMAIL PROTECTED]>,
Ronald G Minnich  <[EMAIL PROTECTED]> wrote:
> On Wed, 4 Oct 2000, FengYue wrote:
> 
> > It seems that mmap on /dev/zero is more portable.
> 
> no really, It won't work at all correctly on linux, and on Tru64 it does
> the totally wrong thing, but the (fd = -1, MAP_ANONYMOUS) does the right
> thing on tru64. 
> 
> It's disappointing that this works so unportably :-(

The other oddity about Tru64 is that a 0-length mmap of a 0-length
file fails.

John
-- 
  John Polstra                                               [EMAIL PROTECTED]
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to