New implementation of pseudo console support (experimental)

Takashi Yano takashi.yano@nifty.ne.jp
Tue May 26 09:21:17 GMT 2020


On Tue, 26 May 2020 09:14:39 +0200
Thomas Wolff wrote:
> Am 26.05.2020 um 03:00 schrieb Takashi Yano via Cygwin-developers:
> > If the code below is compiled with cygwin gcc, it does not work.
> >
> > #include <windows.h>
> > int main()
> > {
> >    WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE), "AAA\r\n", 5, NULL, 0);
> >    return 0;
> > }
> This works for me.

That's strange. WriteFile() works but WriteConsole() should
not work. I meant cygwin native gcc by "gcc", but not
cygwin mingw gcc "x86_64-w64-mingw32-gcc".

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin-developers mailing list