This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FIONREAD on ttyS0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]