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

* Josef Eschgfaeller <esg@felix.unife.it>
| 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 www.franz.com.

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