bug-gnulib
[Top][All Lists]
Advanced

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

Re: seekable stdin test failure on OS X


From: Paul Eggert
Subject: Re: seekable stdin test failure on OS X
Date: Mon, 02 Apr 2007 09:24:28 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Gary V. Vaughan" <address@hidden> writes:

> At worst we need an autoconf test to see whether fflush works on stdin,
> but maybe all that is needed is to call fpurge when present, and
> fallback to fflush otherwise?

For what it's worth, on Solaris it's called __fpurge and is declared
in <stdio_ext.h> (along with __fpending and friends).  The
documentation says it "discards any pending buffered I/O on the
stream."  It returns void.




reply via email to

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