"Dimitrie O. Paun" dpaun@rogers.com writes:
That's the user's choice. We need to support io.h, mingw has it, cygwin has it. If we provide it only in msvcrt, we force everybody to use msvcrt, which is not right IMO.
IMO it is right. I would say this is a cygwin bug; cygwin is supposed to be Unix compatible, and under Unix access() is in unistd.h. So if the app needs access() it should include unistd.h; if it needs the other functions from io.h then it has to use msvcrt because they don't exist in the Unix libc.