There are 13 utilities.
- with-ignored-streams v1.0
-
Ignore any input or output to any of the streams denoted by the symbols
streams
in the codebody
.- Provides
with-ignored-streams
- Requires
- matching-null-stream
- quietly v1.0
-
Quietly execute
body
, suppressing all output.- Provides
quietly
- Requires
- with-ignored-streams
- skip-if v1.0
-
Given a character predicate
char-predicate
, read past all of the characters of the character streamstream
which satisfy that predicate. Optional argumentseof-error-p
,eof-value
, andrecursive-p
are the same as inread-char
.- Provides
skip-if
- skip v1.0
-
Read past all of the characters matching
char
in the character streamstream
. Optional argumentseof-error-p
,eof-value
, andrecursive-p
are the same as inread-char
.- Provides
skip
- Requires
- skip-if
- with-open-file* v1.0
-
Just like
with-open-file
, butnil
values in the keyword arguments mean to use the default value specified foropen
.- Provides
with-open-file*
- Requires
- once-only
- with-input-from-file v1.0
-
Evaluate
body
withstream-name
to an input stream on the filefile-name
.args
is sent as is to the call toopen
exceptexternal-format
, which is only sent towith-open-file
when it's notnil
.- Provides
with-input-from-file
- Requires
- with-open-file*
- with-output-to-file v1.0
-
Evaluate
body
withstream-name
to an output stream on the filefile-name
.args
is sent as is to the call toopen
exceptexternal-format
, which is only sent towith-open-file
when it's notnil
.- Provides
with-output-to-file
- Requires
- with-open-file*
- read-file-into-string v1.0
-
Return the contents of the file denoted by
pathname
as a fresh string.The
external-format
parameter will be passed directly towith-open-file
unless it'snil
, which means the system default.- Provides
read-file-into-string
- Requires
- with-input-from-file
- write-string-into-file v1.0
-
Write
string
topathname
.The
external-format
parameter will be passed directly towith-open-file
unless it'snil
, which means the system default.- Provides
write-string-into-file
- Requires
- with-output-to-file
- read-file-into-byte-vector v1.0
-
Read
pathname
into a freshly allocated(unsigned-byte 8)
vector.- Provides
read-file-into-byte-vector
- Requires
- with-input-from-file
- write-byte-vector-into-file v1.0
-
Write
bytes
topathname
.- Provides
write-byte-vector-into-file
- Requires
- with-output-to-file
- copy-file v1.0
-
Copy a file from
from
toto
.- Provides
copy-file
- Requires
- copy-stream, with-output-to-file, with-input-from-file
- copy-stream v1.0
-
Reads data from
input
and writes it tooutput
. Bothinput
andoutput
must be streams, they will be passed toread-sequence
andwrite-sequence
and must have compatibleelement-type
s.- Provides
copy-stream
- Requires
- sub-interval-numeric-types