From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Liddle To: gnu-win32@cygnus.com, Markus.Maeder@siemens.ch Subject: Re: Opening COM2 Date: Thu, 15 May 1997 14:19:00 -0000 Message-id: <8803.9705151818@sage.compnews.co.uk> X-SW-Source: 1997-05/msg00279.html 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".