Platform |
x64, Win32 |
Purpose |
To get information about a specified file. |
Syntax |
SUBROUTINE FILEINFO@(PATH, MODE, DEV, RDEV, NLINK, SIZE,
ATIME, MTIME, CTIME, ERROR_CODE) |
Description |
Returns information about the file specified by PATH. This routine can be used to return the size of a file in SIZE and the date and time that the file was last accessed in ATIME. The returned value of ATIME can then be supplied to TOTIME@, TOEDATE@ etc.. Similarly MTIME is the last write time and CTIME is the time of creation. ERROR_CODE is returned as zero if the process is carried out successfully, otherwise ERROR_CODE returns a system error code. File sizes that are greater than or equal to 2147483647 are returned as
2147483647. |