Returns a string read from a stream.
stream
stream-read-line stream => result terminated
stream⇩ |
An input stream. |
result |
A string or :eof . |
terminated⇩ |
A boolean. |
The generic function stream-read-line
reads a line of characters from stream and returns this line as a string. If the string is terminated by an end-of-file instead of a newline then terminated is t
.
The default method uses repeated calls to stream-read-char, and uses stream-element-type to determine the element-type of its result.
fundamental-character-input-stream
stream-element-type
stream-read-char
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:01