Next Previous Up Top Contents Index

5.11 The STREAMS module

discard-input

Open generic function

Summary

Discards input from an input stream.

Signature

discard-input input-stream => () 

Arguments

input-stream
An instance of <stream>.

Values

None.

Library

io

Module

streams

Description

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.

See also

discard-output, page 66


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index