Subject: Re: assertion "ptr != MAP_FAILED" failed while using mmap
From: Brian Dessent <[email-masked]>
To: [email-masked]
Date: Wed, 25 Jun 2003 23:08:00 -0700

Alex Vinokur wrote:

> > The program prints:
> === Error : 22 Invalid argument ===
> 
> Which argument?

The flags argument requires at least one of MAP_SHARED or MAP_PRIVATE, I
think.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/