Why doesn't (open ... :if-exists) support :truncate?
- From: Richard M Kreuter <kreuter@xxxxxxxxx>
- Date: Fri, 30 Nov 2007 01:23:40 GMT
Howcome the standard OPEN ... :IF-EXISTS actions don't include an
option for truncating the file when the stream is created? The LispM
seems to have supported a :TRUNCATE here, implementations have always
had to support direct I/O in order to do :OVERWRITE or :APPEND, and
truncation is the natural way to open files under Unix at least; so I
wonder why there isn't a standard way to ask for this behavior.
Thanks,
RmK
.
- Follow-Ups:
- Re: Why doesn't (open ... :if-exists) support :truncate?
- From: Steven M. Haflich
- Re: Why doesn't (open ... :if-exists) support :truncate?
- Prev by Date: Re: Reasons to choose CLISP over other free implementations
- Next by Date: Re: Why doesn't (open ... :if-exists) support :truncate?
- Previous by thread: MAKE-LOAD-FORM environment
- Next by thread: Re: Why doesn't (open ... :if-exists) support :truncate?
- Index(es):
Relevant Pages
|