Previous: , Up: Filesystem Operations   [Contents][Index]


2.17.3 Miscellaneous Filesystem Operations

Function: extensions:default-directory

Return the current working directory as a pathname. If set with setf, set the working directory.

Function: extensions:file-writable name

This function accepts a pathname and returns t if the current process can write it, and nil otherwise.

Function: extensions:unix-namestring pathname &optional for-input

This function converts pathname into a string that can be used with UNIX system calls. Search-lists and wildcards are expanded. for-input controls the treatment of search-lists: when true (the default) and the file exists anywhere on the search-list, then that absolute pathname is returned; otherwise the first element of the search-list is used as the directory.