X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=dIsBSOAExROZMCoIraHFllkn8RCsf fvKGF4V+XgzzQywYaeBLXHRs97Ng1Hz3DBed6zemNPlPQ7r6tSdqm6yhqKyNY4hS Ljh9EdHnyMYMFu6b+Gx/cyPoFrV91DJUg1iNuXCELjPJebLUoQhnk1xqc3y2+Lq+ nzcFGH7NtfLxe8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=og37XK45FzjZQxlFVC1Bz3E6bik=; b=iqM MzRHeAZNfghbqitPAhw0JOnmjlHWVNLNrogr3poYmW+8ygXCiVVVaJu6ukynhpVA AcUMuvU9g/7g/WFkmUdgwpfH3EYoOaZNhJkJo5Rn8o7iakyro6eWL+RV2+jTo+te NT1XrQ01y5PR+X/jtq2lkDDvA7CMfSQBjaXgrN+M= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: nihxway2out.hub.nih.gov X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AigFAK+a6lKcKEeq/2dsb2JhbABZgww4V70kgQwWdIIlAQEBAwESKEQLAgEIDRUUEB8TJQIEGxqHWwgNoSeqdheOUTMFgySBFASOY4p3hT6LL4Mtgio From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "cygwin AT cygwin DOT com" Subject: RE: second call to mmap() results in error Date: Thu, 30 Jan 2014 18:36:34 +0000 Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0C4764C5@MLBXv04.nih.gov> References: <01a801cf1cfa$77957900$66c06b00$@lbmsys.com> <20140129181250 DOT GW2821 AT calimero DOT vinschen DOT de> <52E95786 DOT 8050606 AT gmail DOT com> <20140130095822 DOT GY2821 AT calimero DOT vinschen DOT de> <001801cf1db6$66c47c40$344d74c0$@lbmsys.com> <20140130124558 DOT GA2821 AT calimero DOT vinschen DOT de> <003801cf1dbd$fc3ffc70$f4bff550$@lbmsys.com> <20140130170142 DOT GD2821 AT calimero DOT vinschen DOT de> <5F8AAC04F9616747BC4CC0E803D5907D0C4763CC AT MLBXv04 DOT nih DOT gov> <52EA9A53 DOT 2050203 AT cygwin DOT com> In-Reply-To: <52EA9A53.2050203@cygwin.com> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s0UIapXf021817 > Maybe you missed Corinna's reply? > > No, I did not. She was going after ftruncate() there. Yet, the problem seems to be in cygwin's , which does this: #ifndef __INSIDE_CYGWIN__ extern void *mmap (void *__addr, size_t __len, int __prot, int __flags, int __fd, off_t __off); #endif which means that user code can't use the prototype. Why is it conditional? Anton Lavrentiev Contractor NIH/NLM/NCBI P.S. http://linux.die.net/man/2/mmap -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple