Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 827 Bytes

ExamineFH.md

File metadata and controls

35 lines (22 loc) · 827 Bytes

NAME

ExamineFH -- Gets information on an open file (V36)

SYNOPSIS

    success = ExamineFH(fh, fib)
    D0                  D1  D2

    BOOL ExamineFH(BPTR, struct FileInfoBlock *)

Links: FileInfoBlock

FUNCTION

Examines a filehandle and returns information about the file in the FileInfoBlock. There are no guarantees as to whether the fib_Size field will reflect any changes made to the file size it was opened, though filesystems should attempt to provide up-to-date information for it.

INPUTS

fh - Filehandle you wish to examine fib - FileInfoBlock, must be longword aligned.

RESULT success - Success/failure indication

SEE ALSO

Examine, ExNext, ExAll, Open, AllocDosObject