This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mmap() on 64K aligned address fails
René Berber wrote:
[snip]
> mmap() is returning an error code, probably EINVAL I just ddisn't care to look
didn't
> what was it because there shouldn't be an error.
Yes, using perror I get "Invalid argument", so the implementation considers
mmap(0x470000, 4096, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)
somehow an invalid invocation.
--
René Berber
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/