KI_STATFS

Find filesystem statistics

Synopsis:
CALL KI_STATFS file$ TO freeSpace, freeInodes, diskSize, maxInodes, [remote]
remote = 'ki_statfs( file$, freeSpace, freeInodes, diskSize, maxInodes )
ArgumentEnumerationPurpose
file$Pathname
freeSpaceFree space on file system (kBytes)
freeInodesNumber of spare inodes (-1 on Windows)
diskSizeSize of file system (kBytes)
maxInodesTotal number of inodes (-1 on Windows)
remoteTrue if a remote network drive
>KI_STATFS

KI_STATFS

This returns file system statistics.

The freeSpace and diskSize values are the amount of free disk space and the disk size in kilobytes. The freeInodes and maxInodes only apply to Unix systems, these values are always -1 on Windows. The optional paramter, remote is a flag indicating if the filesystem is mounted via the network. For example, on Unix an NFS directory, or on Windows a 'Network Drive'. For these types if file system remote will be set to 1, for normal local filesystems it will be set to zero.

History
Introduced in KCML 6.00
See Also:
IP_TOS, KI_AES_DECRYPT, KI_AES_ENCRYPT, KI_COMP, KI_COMPFILE, KI_CRYPT, KI_DCOMP, KI_DCOMPFILE, KI_DES_DECRYPT, KI_DES_ENCRYPT, KI_DF, KI_DFK, KI_DIR, KI_DIR_LIST, KI_DS, KI_MD5, KI_PID, KI_PMATCH, KI_SHA1, KI_SIZE, KI_STAT, KI_TOUCH, R7_DATE2J, R7_J2DATE
KCML database status codes