.\"returns information pertaining to a file or a directory
.DT
stat
$MUDNAME$ driver help
stat
.SH Name
.SI 5
stat() - returns information pertaining to a file or a directory
.EI
.SH Synopsis
.SI 5
mixed stat( string str );
mixed stat( string str, int flag );
.EI
.SH Description
.SP 5 5
If `str' is the name of a regular file (not a directory), then stat()
will return an array of information pertaining to that file. The
form of the array is as follows:
.EP
.SI 5
({ file_size, last_time_file_touched, time_object_loaded })
.EI
.SP 5 5
If stat is called on a directory (not a regular file), or with `flag' being
-1, then stat() behaves identically to get_dir().
.EP
.SH See also
.SI 5
get_dir(), file_size()
.EI