Guardian Procedure Calls Reference Manual
DISKINFO Procedure (Superseded by FILE_GETINFOLISTBYNAME_
Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Example
Summary
NOTE: This procedure is supported for compatibility with previous software and should not be
used for new development.
The DISKINFO procedure obtains information about disk volumes.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be used for
new development. This procedure is supported only for compatibility with previous software.
Syntax for TAL Programmers
error := DISKINFO ( name ! i
,[ capacity ] ! o
,[ avail ] ! o
,[ numfrag ] ! o
,[ biggest ] ! o
,[ drivekinds ] ! o
,[ drivecaps ] ); ! o
Parameters
name
input
INT .EXT:ref:12
is the name of the disk volume being inquired about. The name can be that of a disk volume
(blank padded), or of a disk file, or of a DEFINE designating a disk volume or file. The name
can refer to a disk on a different network node.
capacity
output
INT(32) .EXT:ref:1
is the information capacity of the volume as labeled, in pages (2048 byte units). This value
accounts for the space taken up for data protection (spare sectors, and so on), but does not
account for space used by the operating system for volume management (such as directory
space) or other uses.
avail
output
INT(32) .EXT:ref:1
is the total free space currently available, in pages (2048 byte units).
320 Guardian Procedure Calls (D-E)