ignore


Name:
ignore - ignore any waiting data on an istream
Synopsis:
istream ignore -> istream  

Examples:
cin ignore  
myfifo 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: " " " " " "

Bugs:
-  

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).

Author:
R Kupper  

FirstVersion:
1999. New version using setNONBLOCK: Oct 22 1999  

SeeAlso: Source:
/home/nest/work/nest-2.14.0/lib/sli/misc_helpers.sli