Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3EFA8DC0.441238CB@dessent.net> Date: Wed, 25 Jun 2003 23:08:00 -0700 From: Brian Dessent <brian AT dessent DOT net> Organization: My own little world... X-Accept-Language: en,pdf MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: assertion "ptr != MAP_FAILED" failed while using mmap References: <Pine DOT CYG DOT 4 DOT 55 DOT 0306251825330 DOT 3408 AT ellixia> <Pine DOT GSO DOT 4 DOT 44 DOT 0306251849140 DOT 22307-100000 AT slinky DOT cs DOT nyu DOT edu> <bddr4g$on$1 AT main DOT gmane DOT org> <bde0gu$huc$1 AT main DOT gmane DOT org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/