Name
STAT — Evaluates filesystem attributes
Synopsis
STAT(flag,filename)
Does a check on the specified file.
flag may be one of the following
options:
eReturns
1if the file exists;0otherwisesReturns the size of the file, in bytes
fReturns
1if the path referenced is a regular file (and not a directory, symlink, socket, or device) or0otherwisedReturns
1if the path referenced is a directory (and not a regular file, symlink, socket, or device) or0otherwiseMReturns the epoch time when the file contents were last modified
CReturns the epoch time when the file inode was last modified
mReturns the permissions mode of the file (as an octal number)