Ugh, top-posting... Reformatted.
On Tue, 5 Sep 2006, Ernesto Paiser wrote:
Igor Peshansky wrote:
> On Tue, 22 Aug 2006, Ernesto Paiser wrote:
>
> > Hello Corinna,
>
> FYI, this is a mailing list, and unless you're replying to a specific
> message, you're actually talking to many people.
>
> >
Hello Igor,
Sorry for my incomplete question.
I attach to you the following file that could be compiled with gcc in
CYGWIN.
Accepted commands start by '?' character, and when the device is not
connected on the serial line the function read(...) blocks:
DEVICE test program
-
The value of errno might give you a clue.
--Ken Nellis
-Original Message-
From: Ernesto Paiser [mailto:paiser at esrf dot fr]
Sent: Tuesday, August 22, 2006 4:11 AM
To: cygwin at cygwin dot com
Subject: read() blocking and TIOCINQ
Hello Corinna,
I have problems with read() function
On Tue, 22 Aug 2006, Ernesto Paiser wrote:
> Hello Corinna,
FYI, this is a mailing list, and unless you're replying to a specific
message, you're actually talking to many people.
> I have problems with read() function blocking and
> waiting for characters on serial line with cygwin:
>
> Here are
Hello Corinna,
I have problems with read() function blocking and
waiting for characters on serial line with cygwin:
Here are some code fragments:
fd = open(sl, O_RDWR | O_NOCTTY | O_NONBLOCK | O_NDELAY)
newpio.c_cflag = brate | CS8 | CLOCA
5 matches
Mail list logo