assertion "ptr != MAP_FAILED" failed while using mmap

Brian Dessent brian@dessent.net
Thu Jun 26 09:53:00 GMT 2003


Alex Vinokur wrote:

> > The program prints:
> === Error : 22 Invalid argument ===
> 
> Which argument?

The flags argument requires at least one of MAP_SHARED or MAP_PRIVATE, I
think.

Brian

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