ColdC: Function/Method Reference: fstat()


LIST fstat([STRING path])

This function returns information on a file. If the file is not specified as path, then it returns information on the open file on the current object. The information is returned as a list of integers ordered as:

  1. file mode (see fchmod())
  2. file size (in bytes)
  3. time when the file was last accessed
  4. time when the file was last modified
  5. time when the file was last changed

For more information refer to the unix manual page on stat.


Last Modified on Mar 8 1996
Copyright © 1995, 1996, Brandon Gillespie