* (all files)
* stripped svn header
* minor cleanups
; use following command to find out the history of files:
git log
git log --follow
git blame
git annotate
33 lines
820 B
Plaintext
33 lines
820 B
Plaintext
/*
|
|
* Author....: Robert A. DiFalco
|
|
* CIS ID....: ?
|
|
*
|
|
* This is an original work by Robert A. DiFalco and is placed in
|
|
* the public domain.
|
|
*
|
|
* Modification history:
|
|
* ---------------------
|
|
*
|
|
* Rev 1.2 15 Aug 1991 23:02:20 GLENN
|
|
* Forest Belt proofread/edited/cleaned up doc
|
|
*
|
|
* Rev 1.1 14 Jun 1991 17:49:28 GLENN
|
|
* Documentation format change (minor).
|
|
* Added work around suggested by a number of Nanforum users; sometimes
|
|
* _ftDiskFunc() would return negative numbers on large drives.
|
|
*
|
|
* Rev 1.0 01 Apr 1991 01:01:12 GLENN
|
|
* Nanforum Toolkit
|
|
*
|
|
*/
|
|
|
|
#include "fileio.ch"
|
|
|
|
FUNCTION ft_DskSize( cDrive )
|
|
|
|
RETURN hb_DiskSpace( cDrive + hb_osDriveSeparator(), HB_DISK_TOTAL )
|
|
|
|
FUNCTION ft_DskFree( cDrive )
|
|
|
|
RETURN hb_DiskSpace( cDrive + hb_osDriveSeparator(), HB_DISK_FREE )
|