ignore

Command: ignore


Description
"ignore" reads input form the given istream line by line
and discards it.

Parameters
In : istream: the stream to ignore data in.
Out: istream: " " " " " "

Author
R Kupper

Bugs
-

Synopsis
istream ignore -> istream

Examples
cin ignore
myfifo ignore

File
lib/sli/misc_helpers.sli
Diagnostics


Remarks
After a call to "ignore" the state of the stream is always "good" and
blocking I/O is selected for that stream (O_NONBLOCK==false).

FirstVersion
1999. New version using setNONBLOCK: Oct 22 1999

SeeAlso