From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: second call to mmap() results in error
Date: Thu, 30 Jan 2014 18:40:00 -0000 [thread overview]
Message-ID: <20140130183956.GA3573@ednor.casa.cgf.cx> (raw)
In-Reply-To: <5F8AAC04F9616747BC4CC0E803D5907D0C4764C5@MLBXv04.nih.gov>
On Thu, Jan 30, 2014 at 06:36:34PM +0000, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
>> Maybe you missed Corinna's reply?
>>
>> <http://cygwin.com/ml/cygwin/2014-01/msg00519.html>
>
>No, I did not. She was going after ftruncate() there.
>
>Yet, the problem seems to be in cygwin's <sys/mman.h>, 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?
#if*n*def __INSIDE_CYGWIN__
--
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
next prev parent reply other threads:[~2014-01-30 18:40 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-29 14:01 Steven Bardwell
2014-01-29 18:12 ` Corinna Vinschen
2014-01-29 19:08 ` Steven Bardwell
2014-01-29 19:33 ` Marco Atzeri
2014-01-30 9:58 ` Corinna Vinschen
2014-01-30 12:25 ` Steven Bardwell
2014-01-30 12:46 ` Corinna Vinschen
2014-01-30 13:20 ` Steven Bardwell
2014-01-30 17:01 ` Corinna Vinschen
2014-01-30 17:24 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2014-01-30 18:30 ` Larry Hall (Cygwin)
2014-01-30 18:36 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2014-01-30 18:40 ` Christopher Faylor [this message]
2014-01-30 18:44 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2014-01-30 18:49 ` Larry Hall (Cygwin)
2014-01-30 18:52 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2014-01-30 19:01 ` Larry Hall (Cygwin)
2014-01-30 19:04 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2014-01-30 19:30 ` Larry Hall (Cygwin)
2014-01-30 19:46 ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2014-01-30 20:19 ` Larry Hall (Cygwin)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140130183956.GA3573@ednor.casa.cgf.cx \
--to=cgf-use-the-mailinglist-please@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).