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.
LispWorks User Guide and Reference Manual - 13 Feb 2015