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

TFileInfoBlock

File information structure

Declaration

Source position: amigados.pas line 88

type TFileInfoBlock = record

  fib_DiskKey: NativeUInt;

  

  fib_DirEntryType: LongInt;

  

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

  fib_FileName: array [0..MAXFILENAMELENGTH-1] of Char;

  

Name of the File or Directory

  fib_Protection: LongInt;

  

Protection bits (FIBF_*)

  fib_EntryType: LongInt;

  

  fib_Size: LongInt;

  

Size of file in Bytes

  fib_NumBlocks: LongInt;

  

Size of File in blocks

  fib_Date: TDateStamp;

  

Last change Date of File

  fib_Comment: array [0..MAXCOMMENTLENGTH-1] 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..31] of Char;

  

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