Package: trivial-gray-streams

Generic Function stream-read-char-no-hang

Lambda List

stream-read-char-no-hang (stream)

Details

This is used to implement cl:read-char-no-hang. It returns either a character, or nil if no input is currently available, or :eof if end-of-file is reached. The default method provided by fundamental-character-input-stream simply calls stream-read-char; this is sufficient for file streams, but interactive streams should define their own method.