[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Return the total amount of diskspace.
Source position: diskh.inc line 17
function DiskSize( |
drive: Byte |
):Int64; |
DiskSizereturns 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 filesystem is seen as one big directory tree. For this reason, the DiskFreeand DiskSizefunctions must be mimicked using filenames that reside on the partitions. For more information, see AddDisk |
For an example, see DiskFree.
On error, -1is returned.
|
Return the amount of free diskspace |
|
|
Add a disk to the list of known disks (Unix only) |