[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: opening files & getting eof
- To: info-macl@cambridge.apple.com
- Subject: Re: opening files & getting eof
- From: James Vincent Schultz <js3b+@andrew.cmu.edu>
- Date: Wed, 7 Aug 91 15:34:05 -0400 (EDT)
- In-reply-to: <scc1F6W00io=8D=Gw0@andrew.cmu.edu>
- Organization: Carnegie Mellon University. Pittsburgh PA.
- References: <scc1F6W00io=8D=Gw0@andrew.cmu.edu>
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
+-----------------------------+