You never want to READ from the NULL device, especially with something like "Press return to continue" as the application may get stuck in a infinite READ loop especially if the READ answer is required.

On 2/6/06, Greg Woodhouse <[EMAIL PROTECTED]> wrote:


--- Steven McPhelan <[EMAIL PROTECTED]> wrote:

> Opening a NULL device is an option if you are certain all your IO is
> in the
> form of Reads.
>
I guess I don't understand. If you USE the null device, your WRITEs
will go to the null device, too. Are you thinking about multiplexing
devices here?

===
Gregory Woodhouse  <[EMAIL PROTECTED]>
"All truth passes through three stages: First, it is ridiculed.
Second, it is violently opposed. Third, it is accepted as
being self-evident."
--Arthur Schopenhauer


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members



--
Steven McPhelan
"Action springs not from thought, but from a readiness for responsibility." - Dietrich Bohhoeffer

Reply via email to