Subject: Re: xterm jump scrolling on sparc64
To: None <tech-x11@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-x11
Date: 06/01/2004 19:01:35
On Tue, Jun 01, 2004 at 09:59:13AM -0700, john heasley wrote:
> 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.

I_NREAD returns the number of messages as return value and the number of
bytes in the integer argument. These two ioctl()s are definitely not
interchangeable.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/