Determines whether a stream is at end of file.
stream
stream-check-eof-no-hang stream => result
| stream⇩ |
An input stream. |
| result⇩ | nil or :eof. |
The generic function stream-check-eof-no-hang determines if the data source of the stream is at end of file, without hanging.
stream should be an instance of a subclass of buffered-stream.
result is :eof if stream is at end of file and nil otherwise.
There is a built-in method specialized on buffered-stream which returns :eof in all cases.
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:45