Package: trivial-gray-streams

Generic Function stream-peek-char

Lambda List

stream-peek-char (stream)

Details

Used to implement cl:peek-char; this corresponds to peek-type of nil. It returns either a character or :eof. The default method calls stream-read-char and stream-unread-char.