Subject: Re: xterm jump scrolling on sparc64
To: Klaus Klein <firstname.lastname@example.org>
From: john heasley <email@example.com>
Date: 06/01/2004 09:59:13
Tue, Jun 01, 2004 at 06:24:49PM +0200, Klaus Klein:
> On Tuesday 01 June 2004 13:28, Matthias Scheler wrote:
> > In article <20040530230430.GB6706@shrubbery.net>,
> > john heasley <firstname.lastname@example.org> writes:
> > > Question before I commit this though, what platform/OS takes a long for
> > > FIONREAD? SUS says int and but I found miscellaneous references on google
> > > suggesting that there are some which use long (IRIX on LP64 and apprently
> > > windows).
> > [...]
> > But if SUS indeed says that FIONREAD expects an "int" argument you
> > should better write like this:
> Surely I must be missing something; the Single UNIX Specification
> (if that's what's being referred to) has concerned itself with
> ioctl() only in the context of STREAMS, and there's no such thing
> as FIONREAD in the standard.
Nope, probably me that is missing or misunderstanding something. The
streams side has I_NREAD, and I read elsewhere that it was the replacement
for FIONREAD, though it returns # of messages instead of bytes.