Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

TFileInfoBlock

File information structure

Declaration

Source position: amigados.pas line 305

type TFileInfoBlock = record

  fib_DiskKey: LongWord;

  

  fib_DirEntryType: LongInt;

  

Type of File. < 0 plain file, > 0 a directory

  fib_FileName: array [0..107] of Char;

  

Name of the File or Directory

  fib_Protection: LongWord;

  

Protection bits (FIBF_*)

  fib_Obsolete: LongInt;

  fib_Size: LongWord;

  

Size of file in Bytes

  fib_NumBlocks: LongWord;

  

Size of File in blocks

  fib_Date: TDateStamp;

  

Last change Date of File

  fib_Comment: array [0..79] of Char;

  

Comment of File

  fib_OwnerUID: Word;

  

Owners User ID (0 = no user id)

  fib_OwnerGID: Word;

  

Owners Group ID (0 = no group ID)

  fib_Reserved: array [0..7] of Pointer;

  

end;

Description

Provides many informations about a file without a need to open it.

See also

Examine

  

Examine a directory or file associated with a lock

FIBF_DELETE

  

Protection Value file can be deleted

FIBF_EXECUTE

  

Protection Value file can be exceuted

FIBF_WRITE

  

Protection Value file is writeable

FIBF_READ

  

Protection Value: File is readable

FIBF_ARCHIVE

  

Protection Value File is marked as archived

FIBF_PURE

  

Protection Value program is reentrant and rexecutable

FIBF_SCRIPT

  

Protection Value: File is a script


Documentation generated on: 2021-07-30