chickadee » srfi-135 » read-text

read-text max #!optional portprocedure

Analogous to R7RS read-string. Reads at most max characters from port (which defaults to the current input port) and returns the result as a text. If an EOF is encountered before any input has been read, then an EOF object is returned.