[Top][All Lists]

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

checking a file stream for pending input

From: Brian Blais
Subject: checking a file stream for pending input
Date: Sat, 24 Dec 2005 06:41:49 -0500
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)


Is there a way to check a file stream for pending input (and continue if there is not)? I could try to write something with select() in C++, but I would prefer a native octave solution if one exists. I'd be fine with something like fread or fgets, which could return empty if there is nothing currently in the stream. Is there an option for something like that?

                        thanks and Merry Christmas,

                                Brian Blais



Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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