X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 23 Feb 2010 09:24:49 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: FIONREAD on ttyS0 Message-ID: <20100223142448.GB14481@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4B83E080 DOT 4040607 AT cuba DOT ionum DOT ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B83E080.4040607@cuba.ionum.ch> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, Feb 23, 2010 at 03:04:48PM +0100, q0082 AT cuba DOT ionum DOT 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