Package: trivial-gray-streams

Generic Function stream-listen

Lambda List

stream-listen (stream)

Details

Used by cl:listen. Returns true or false. The default method uses stream-read-char-no-hang and stream-unread-char. Most streams should define their own method since it will usually be trivial and will always be more efficient than the default method.