mmap() on 64K aligned address fails

René Berber r.berber@computer.org
Sun Nov 27 13:06:00 GMT 2005


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/



More information about the Cygwin mailing list