bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

check for pending read data


From: Moritz Schulte
Subject: check for pending read data
Date: 05 Aug 2001 22:08:57 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Hi,
I've a suggestion for a new interface to add stdio_ext.h:
A function or macro, which implements the following check:

#define READ_DATA_PENDING(fp) ((fp)->__bufp < (fp)->__get_limit)

'Ruby' for example needs something like that.

Thanks,
                moritz

PS: I'm not subscribed to this list.

-- 
Moritz Schulte <address@hidden> http://www.chaosdorf.de/moritz/
Debian/GNU supporter - http://www.debian.org/ http://www.gnu.org/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199



reply via email to

[Prev in Thread] Current Thread [Next in Thread]