Files
harbour-core/contrib/hbnf/doc/en/diskfunc.txt
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (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
2013-03-16 02:11:42 +01:00

50 lines
1.4 KiB
Plaintext

/* $DOC$
$NAME$
ft_DskSize()
$CATEGORY$
DOS/BIOS
$ONELINER$
Return the maximum capacity of a fixed disk
$SYNTAX$
ft_DskSize( [ <cDrive> ] ) -> nMaxCapacity
$ARGUMENTS$
<cDrive> is the fixed disk to query. If no drive is sent, the
operation will be performed on the default drive. Send without
the ":".
$RETURNS$
An integer representing the maximum disk capacity in bytes.
$DESCRIPTION$
Function utilizing ft_int86() to return Maximum Disk Size.
Uses ft_int86() through the internal function _ftDiskInfo().
$EXAMPLES$
? ft_DskSize() // Maximum capacity for default drive
? ft_DskSize( "D" ) // Maximum capacity for Drive D:
$END$
*/
/* $DOC$
$NAME$
ft_DskFree()
$CATEGORY$
DOS/BIOS
$ONELINER$
Return the amount of available disk space
$SYNTAX$
ft_DskFree( [ <cDrive> ] ) -> nSpaceAvail
$ARGUMENTS$
<cDrive> is the fixed disk to query. If no parameter is passed
the operation will be performed on the default drive. Do not
include the ":".
$RETURNS$
Integer representing the available disk space in bytes.
$DESCRIPTION$
Function to return the available space on the passed
drive letter or the default drive if no drive is passed.
Uses ft_int86() through the internal function _ftDiskInfo().
$EXAMPLES$
? ft_DskFree() // Returns free space on default drive.
$END$
*/