Next Prev Up Top Contents Index

stream-read-line

Generic Function
Summary

Returns a string read from a stream.

Package

stream

Signature

stream-read-line stream => result terminated

Arguments

stream

A stream.

Values

result

A string or :EOF .

terminated

A boolean.

Description

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.

See also

fundamental-character-input-stream
stream-element-type
stream-read-char


LispWorks Reference Manual (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index