199

Files and Directories
File Functions

  • There are a number of built-in function which provide access to the file handling capabilities of the underlying/native operating system

  • Most are based upon the UNIX functions of the same names

      Function Desription
      unlink( LIST ) Remove a list of files or empty directories
      rename( OLD, NEW ) Rename a file or directory
      @info = stat( FILE ) Get information about a file or directory
      Returns the list: dev, ino, mode, nlink, uid, gid, rdev, size, atime, mtime, ctime, blksize, blocks