
stat(3)               LPC 系統函數               stat(3)

名稱
     stat() - returns information  pertaining  to  a  file  or  a
     directory

語法
     mixed stat( string str, int default: 0 );

描述
     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:

             ({ file_size, last_time_file_touched, time_object_loaded })

     If stat is called on a directory (not a regular file), or with a second
     argument of -1, then stat() behaves identically to get_dir(3).

請參考
     get_dir(3), file_size(3)

MudOS                Last change: 5 Sep 1994                    1

