freopen() problems

Tor Lillqvist
Tue Aug 31 23:49:00 GMT 1999

> - take out -mwindows

But the point of the code was to figure out a way to get a console window
and be able to do normal stdio to it in a windowing application.

> I'm not sure how stdin/out are attached for windows subsystem apps.

They are invalid if not redirected when starting the app.

> Does it work with Microsoft's compiler?


Maybe this is one thing that works differently with crtdll and msvcrt? I use 
msvcrt, while jim probably uses crtdll?


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list