National Institute of Advanced Industrial Science and Technology (AIST) This page is a page of the former research institute. We stopped updating on March 31.2001.
E-mail to webmaster (Japanese) E-mail to webmaster (English)
next up previous contents index
Next: Evaluation Up: Streams and Input/Output Previous: Pathnames

File System Interface

  probe-file path [function]

  file-size path [function]   directory-p path [function]   find-executable file [function]
  • returns the full pathname for the Unix command named file. Find-executable provides almost the same functionality with Unix's 'which' command that searches the executable file in your path list.
  file-write-date file [function]
  • returns the integer representation of the time when the file was last modified. String representation can be obtained by (unix:asctime (unix:localtime (file-write-date file)))
  file-newer new old [function]
returns T if the new file is modified more recently than the old file.

  object-file-p file [function]

  • returns T if the file is an object file by looking at the file's magic number in the header.
  directory &optional (path ".") [function]
  • makes a list of all the files in the path.
  dir &optional (dir ".") [function]
  • prints file names in the specified directory.


Hirofumi Nakagaki
Fri Mar 22 12:46:38 JST 1996