File information structure
Source position: amigados.pas line 110
type tFileInfoBlock = record |
||
fib_DiskKey: LongInt; |
|
|
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: 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..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..31] of Char; |
|
|
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 |