[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opening files & getting eof



James Vincent Schultz <js3b+@andrew.cmu.edu> writes:
> I am using common lisp v1.3.2, and would like to be able to determine
> the sizes of files.  The File System Interface chapter doesn't mention
> how to open/read a file, and none of the examples do..
> 
> Surely this is a standard function and not something you have to hack
> in.
> 
> Help, please?
> 

well, I got my answer!  thanks to those that replied.
the functions I wanted are standard common lisp functions:

with-open-file
open
file-length


+-----------------------------+
| James Schultz               | "Childhood is short and
| Carnegie Mellon University  |  maturity is forever."
| js3b+@andrew.cmu.edu        |           -- Calvin & Hobbes
+-----------------------------+