Opening COM2

Markus Maeder Markus.Maeder@siemens.ch
Wed May 14 22:52:00 GMT 1997


Bob Wilson posted a message some time ago with some C source lines:

        if ((comfd = open("com2", O_RDWR | O_TEXT)) <= 0) {
            fprintf(stderr, "Cmd: Unable to open terminal\n");
            exit(1);
        }

He stated, this doesnt function under b17. open hangs...

It seems, that this doesn't work under b18 either. Is there a patch?

Regards,
Markus



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list