chickadee » posix-extras » resolve-pathname

resolve-pathname pprocedure

Resolve all ./, ../ and symbolic references in relative or absolute pathname string P. All components in the path must exist. Returns an absolute pathname string, or signals an error if (for example) a path component is missing.

Platform notes: Solaris is reported to return a relative pathname in some instances. Unimplemented on Windows and will signal an error.