Previous: File Name Completion, Up: Filesystem Operations [Contents][Index]
Return the current working directory as a pathname. If set with
setf
, set the working directory.
This function accepts a pathname and returns t
if the current
process can write it, and nil
otherwise.
&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.