All Manuals > LispWorks® User Guide and Reference Manual > 33 The COMMON-LISP Package

make-pathname Function

Summary

Makes a pathname.

Package

common-lisp

Signature

make-pathname &key host device directory name type version defaults case => pathname

Arguments
host
A valid physical pathname host.
device
A valid pathname device.
directory
A valid pathname directory.
name
A valid pathname name.
type
A valid pathname type.
version
A valid pathname version.
defaults
A pathname designator.
case
One of :common or :local.
Values
pathname
Description

The function make-pathname and its use of host, device directory, name, type, version, defaults and case are as specified in ANSI Common Lisp with some extensions.

On Windows, when host that is a string with more than one character (so cannot be a drive character), or defaults is an UNC pathname, then make-pathname returns an UNC pathname. See 27.18.5 Windows UNC pathnames (Windows only) for a discussion of UNC pathnames on Windows.

See also

make-pathname in the Common Lisp HyperSpec
27.18.5 Windows UNC pathnames (Windows only)


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