Subject: Re: Reading files
From: Erik Naggum <>
Date: 1999/05/30
Newsgroups: comp.lang.lisp
Message-ID: <>

* Josef Eschgfaeller <>
| Is it not possible to read a file at once instead of using read-line
| or read-char?

  two ways: (1) use READ-SEQUENCE on a pre-allocated string (use
  FILE-LENGTH to learn how big it should be), or (2) make a FFI call to
  the mmap system call and treat it as a string.  the first is simple.

| I'm working with GCL under Linux. Thanks.

  there are much better Common Lisp implementations available under Linux.
  I would recommend Allegro CL from Franz Inc.  visit

@1999-07-22T00:37:33Z -- pi billion seconds since the turn of the century