[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Gets the size for the specified file name.
Source position: fileutil.pas line 63
function FileSize( |
const Filename: string |
):Int64; overload; |
Filename |
|
The name of the file examined in the routine. |
Returns the size of the file, or -1 if the file does not exist.
FileSize is an overloaded Int64 function used to get the size for the file specified in the FileName parameter. FileSize is similar to the FileSize routine in the FPC RTL, but accepts a file name instead of a FileRec argument.
FileSize calls FileSizeUtf8 to get the return value for the function.
|
Gets the size for the specified file name. |
|
Version 3.2 | Generated 2024-02-25 | Home |