Open generic function
Discards input from an input stream.
discard-input input-stream => ()
<stream>.
io
streams
Discards any pending input from input-stream, both buffered input and, if possible, any input that might be at the stream's source.
This operation is principally useful for "interactive" streams, such as TTY streams, to discard unwanted input after an error condition arises. There is a default method on <stream> so that applications can call this function on any kind of stream. The default method does nothing.