[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Return the total amount of diskspace.
Source position: diskh.inc line 17
function DiskSize( |
drive: Byte |
):Int64; |
DiskSize returns the size (in bytes) of disk Drive. Drive is the number of the disk drive:
Remark: | Under Linux, and Unix in general, the concept of disk is different than the dos one, since the file system is seen as one big directory tree. For this reason, the DiskFree and DiskSize functions must be mimicked using filenames that reside on the partitions. For more information, see AddDisk |
For an example, see DiskFree.
On error, -1 is returned.
|
Return the amount of free diskspace |
|
|
Add a disk to the list of known disks (Unix only) |