public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: serial port programming
Date: Fri, 30 Mar 2001 17:20:00 -0000	[thread overview]
Message-ID: <20010330202059.A32471@redhat.com> (raw)
In-Reply-To: <Pine.BSF.4.21.0103301702570.1865-100000@shell10.ba.best.com>

On Fri, Mar 30, 2001 at 05:16:42PM -0800, Tim Holmes wrote:
>Hello,
>
>I'm trying to use cygwin to write an app that communicates via the serial
>port.  I'm doing this under Windows NT.  
>
>At one point I need to find out how many bytes are in the incoming
>buffer.  The POSIX programming references I've found say to use FIONREAD,
>but this is apparently not included in Cywin's termios.
>
>I've found some references to this in the list archives, but wasn't clear
>as to what it all meant.  Can I read the number of bytes in the
>buffer?  

I don't believe that it is implemented in Cygwin.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2001-03-30 17:20 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-30 17:16 Tim Holmes
2001-03-30 17:20 ` Christopher Faylor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-05-29  7:43 Serial " El
2000-05-15  9:23 serial " j_s_saini
1999-08-22 23:32 Serial " Kim Poulsen
1999-08-22 23:52 ` Baron Shatturday
     [not found] ` <199908230653.IAA17307@mailhostnew.tbit.dk>
1999-08-23  0:04   ` Kim Poulsen
1999-08-31 23:49     ` Kim Poulsen
1999-08-23  2:32 ` Corinna Vinschen
1999-08-23  2:50   ` Kim Poulsen
1999-08-23  8:03     ` Chris Faylor
1999-08-23 22:31       ` Kim Poulsen
1999-08-23 22:35         ` Geoff Appleby
1999-08-31 23:49           ` Geoff Appleby
1999-08-24  9:17         ` Chris Faylor
1999-08-31 23:49           ` Chris Faylor
1999-08-31 23:49         ` Kim Poulsen
1999-08-31 23:49       ` Chris Faylor
1999-08-31 23:49     ` Kim Poulsen
1999-08-23  8:00   ` Chris Faylor
1999-08-31 23:49     ` Chris Faylor
1999-08-31 23:49   ` Corinna Vinschen
     [not found] ` <199908230653.XAA03904@cygnus.com>
1999-08-23  7:59   ` Chris Faylor
1999-08-31 23:49     ` Chris Faylor
1999-08-31 23:49 ` Kim Poulsen
1999-08-31 23:49 ` Baron Shatturday

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010330202059.A32471@redhat.com \
    --to=cgf@redhat.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).