- read-file #!optional INP-OR-FIL NUMprocedure
Reads until the end from the INP-OR-FIL, a file string or input-port, and returns the result as a string; defaults to (current-input-port). A NUM fixnum value will limit the returned strings to a maximum string-length, not line-length.
A wrapper for (chicken io) read-string.