Next Prev Up Top Contents Index

stream-read-char-no-hang

Generic Function
Summary

Returns either a character from the stream, an :EOF if the end-of-file is reached, or nil if no input is currently available.

Package

stream

Signature

stream-read-char-no-hang stream => result

Arguments

stream

A stream.

Values

result

Either a character, an :EOF symbol, or nil .

Description

The generic function stream-read-char-no-hang implements read-char-no-hang . It returns either a character read from the stream, an :EOF if end-of-file is reached, or nil if no input is available. The default method provided by fundamental-character-input-stream simply calls stream-read-char which is sufficient for file streams, but interactive streams should define their own method.

See also

fundamental-character-input-stream
stream-read-char


LispWorks Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index