chickadee » srfi-135 » text-read-line

text-read-line #!optional portprocedure

Analogous to R7RS read-line. Reads a newline-delimited line from port and returns it as a text, without the terminating newline. port defaults to the value of (current-input-port). If an EOF is encountered before a newline but after some input has been read, then a text containing this input is returned. If an EOF is encountered before any input has been read, then an EOF object is returned.

CRLF and CRCR…LF line terminators are not yet supported.