This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: second call to mmap() results in error


On 1/30/2014 12:24 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
Adding the <unistd.h> fixes the problem in all its iterations

I must be missing a point here, so what was the problem with the original
test program (which BTW worked fine on my CYGWIN installation).  Seems like
<unistd.h> was not needed there?  And how adding just <unistd.h> (w/o adding
ftruncate(), IIUC) has made it work?

Maybe you missed Corinna's reply?

<http://cygwin.com/ml/cygwin/2014-01/msg00519.html>


--
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]