Opening COM2
Gary Liddle
garyl@padd.press.net
Thu May 15 14:19:00 GMT 1997
the way to do it is
to
fp = fopen("com2", "whatever");
comfd = fileno(fp);
>> 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".
>-
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