[Mono-dev] [HaikuPorts-devs] [RFC 09/12] console-unix: Workaround FIONREAD ioctl for Haiku

Ingo Weinhold ingo_weinhold at gmx.de
Fri Mar 26 12:07:59 EDT 2010


On 2010-03-26 at 17:02:05 [+0100], Andreas Färber <andreas.faerber at web.de> wrote:
> Am 26.03.2010 um 15:39 schrieb François Revol:
> > Don't we have this implemented ?
> > If not it should be fixed in the tty driver...
> 
> A quick grep -r shows FIONREAD in sys/ioctl.h (and STDIN_FILENO in
> unistd.h).
> `hg blame` indicates changeset 17441 or SVN r18456 but also shows "/*
> These only work on sockets for now */". :)
> 
> I'll check compilation without this patch next week.

It's not implemented for TTYs yet. The ioctl() will just fail.

CU, Ingo


More information about the Mono-devel-list mailing list