Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Alex Vinokur" Subject: Re: assertion "ptr != MAP_FAILED" failed while using mmap Date: Thu, 26 Jun 2003 12:51:43 +0300 Lines: 27 Message-ID: References: <3EFA8DC0 DOT 441238CB AT dessent DOT net> X-Complaints-To: usenet AT main DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 "Brian Dessent" wrote in message news:3EFA8DC0 DOT 441238CB AT dessent DOT net... > 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 > It works fine with MAP_SHARED. Thanks. ===================================== Alex Vinokur mailto:alexvn AT connect DOT to http://mathforum.org/library/view/10978.html ===================================== -- 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/