second call to mmap() results in error

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Thu Jan 30 18:30:00 GMT 2014


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



More information about the Cygwin mailing list