second call to mmap() results in error

Lavrentiev, Anton (NIH/NLM/NCBI) [C] lavr@ncbi.nlm.nih.gov
Thu Jan 30 19:04:00 GMT 2014


> Forget mmap().

Why?  The response was:

> Adding the <unistd.h> fixes the problem in all its iterations -- the original mmap() 
> test works (without the call to ftruncate()), as well as the second one.

Note *the original*.

Anton Lavrentiev
Contractor NIH/NLM/NCBI


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