This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: FIONREAD on ttyS0
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Feb 2010 09:24:49 -0500
- Subject: Re: FIONREAD on ttyS0
- References: <4B83E080.4040607@cuba.ionum.ch>
- Reply-to: cygwin at cygwin dot com
On Tue, Feb 23, 2010 at 03:04:48PM +0100, q0082@cuba.ionum.ch wrote:
>ioctl(fd, FIONREAD, &bytes) gives me errno 88 (fd is a handle on ttyS0).
>Is FIONREAD for serial tty not implemented?
>From /usr/include/sys/errno.h:
#define ENOSYS 88 /* Function not implemented */
So the answer is no it is not implemented.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple