File information structure
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; |
Provides many informations about a file without a need to open it.
|
Examine a directory or file associated with a lock |
|
|
Protection Value file can be deleted |
|
|
Protection Value file can be exceuted |
|
|
Protection Value file is writeable |
|
|
Protection Value: File is readable |
|
|
Protection Value File is marked as archived |
|
|
Protection Value program is reentrant and rexecutable |
|
|
Protection Value: File is a script |