fopen() and CON

Chris Faylor
Fri Dec 10 13:24:00 GMT 1999

On Fri, Dec 10, 1999 at 06:23:06PM -0200, Andre Oliveira da Costa wrote:
>* should the CON device had been opened if I asked for CON.html?

It depends on what you mean by "should".  If it was up to me, the answer
would be "no".  If it is up to Microsoft, the answer is "yes".  Cygwin
can't override the underlying OS.

>* is there any way to avoid this? (I mean, what I really want is to have a
>text file named CON.html)

I'm not aware of any way to override this.  I suppose that on NT you
could open the file in POSIX mode, but cygwin has no way of doing this
via fopen.


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list