Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 717 Bytes

File metadata and controls

35 lines (22 loc) · 717 Bytes

NAME

Info -- Returns information about the disk

SYNOPSIS

    success = Info( lock, parameterBlock )
    D0              D1    D2

    BOOL Info(BPTR, struct InfoData *)

Links: InfoData

FUNCTION

Info() can be used to find information about any disk in use. 'lock' refers to the disk, or any file on the disk. The parameter block is returned with information about the size of the disk, number of free blocks and any soft errors.

INPUTS

lock - BCPL pointer to a lock parameterBlock - pointer to an InfoData structure (longword aligned)

RESULTS

success - boolean

SPECIAL NOTE: Note that InfoData structure must be longword aligned.