All Manuals > LispWorks® User Guide and Reference Manual > 38 The LISPWORKS Package

append-file Function

Summary

Appends the contents of a file to another file.

Package

lispworks

Signature

append-file from to

Arguments
from
A pathname designator.
to
A pathname designator.
Description

The function append-file appends the contents of the file from to another file. The file from must exist.

append-file opens from for input and to for output using if-exists :append (see cl:open in the Common Lisp HyperSpec) and copies the contents from from to to.

On any failure append-file signals an error.

append-file does not return a useful value.

See also

copy-file


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41