<head><title>ColdC: Function/Method Reference: fstat()</title></head> <body> <h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: fstat()</h1> <hr> <p> <font size=+1><i>LIST</i> <b>fstat</b>(<i>[STRING <b>path</b>]</i>)</font> <p>This function returns information on a file. If the file is not specified as <var>path</var>, then it returns information on the open file on the current object. The information is returned as a list of integers ordered as: <ol> <li>file mode (see <a href="fchmod.html"><code>fchmod()</code></a>) <li>file size (in bytes) <li>time when the file was last accessed <li>time when the file was last modified <li>time when the file was last changed </ol> <p>For more information refer to the unix manual page on <tt>stat</tt>. <p><hr size=4><p align=center><i>Last Modified on Mar 8 1996</i> <br><i>Copyright © 1995, 1996, Brandon Gillespie</i> </body>