All Manuals > LispWorks® User Guide and Reference Manual > 46 The STREAM Package

stream-check-eof-no-hang Generic Function

Summary

Determines whether a stream is at end of file.

Package

stream

Signature

stream-check-eof-no-hang stream => result

Arguments
stream
An input stream.
Values
result
nil or :eof.
Description

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.

See also

buffered-stream


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:01