[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


    NAME
        Info -- Returns information about the disk

    SYNOPSIS
        success = Info( lock, parameterBlock )
        D0              D1    D2

        bool info(bptr, struct 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.