Next Previous Up Top Contents Index

17 The STREAM package

stream-listen

Generic Function

Summary

A function used bylisten that returnst if there is input available.
Package

stream

Signature

stream-listen stream => bool

Arguments

stream

A stream.

Values

bool

A generalized boolean.

Description

The generic functionstream-listen is used bylisten and returnst if there is input available. The default method usesstream-read-char-no-hang andstream-unread-char. Most streams should define their own method as this is usually trivial and more efficient than the method provided.
See also

stream-read-char-no-hang
stream-unread-char

LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker