Search

( buffer-mode buffer-mode-symbol ) buffer-mode?
buffer-mode-symbol
none
no buffering
line
flush upon line endings and reading up to line endings
block
arbitrary buffering
( eol-style eol-style-symbol ) symbol?
eol-style-symbol
none
lf
linefeed
cr
carriage return
crlf
carriage return linefeed
nel
next line
crnel
carriage return next line
ls
line separator
( error-handling-mode error-handling-mode-symbol ) symbol?
error-handling-mode-symbol
ignore
appropriate number of bytes of the invalid encoding are ignored and decoding continues with the following bytes
raise
exception with condition type &i/o-decoding is raised
replace
the replacement character U+FFFD is injected into the data stream, an appropriate number of bytes are ignored, and decoding continues with the following bytes
( file-options file-options-symbol ... ) file-options
file-options-symbol
no-create
If the file does not already exist, it is not created; instead, an exception with condition type &i/o-file-does-not-exist is raised. If the file already exists, the exception with condition type &i/o-file-already-exists is not raised and the file is truncated to zero length.
no-fail
If the file already exists, the exception with condition type &i/o-file-already-exists is not raised, even if no-create is not included, and the file is truncated to zero length.
no-truncate
If the file already exists and the exception with condition type &i/o-file-already-exists has been inhibited by inclusion of no-create or no-fail, the file is not truncated, but the port's current position is still set to the beginning of the file.