mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 21:20:24 +02:00
* removed restoration ofa compability that never existed
git-svn-id: trunk@7268 -
This commit is contained in:
parent
2214c11330
commit
cb8e361672
@ -40,51 +40,27 @@ TYPE
|
|||||||
|
|
||||||
{ file characteristics services }
|
{ file characteristics services }
|
||||||
stat = packed record { verify the alignment of the members }
|
stat = packed record { verify the alignment of the members }
|
||||||
case byte of
|
st_dev : dev_t;
|
||||||
0:
|
st_pad1 : array[1..3] of longint; { reserve for dev expansion }
|
||||||
(dev : dev_t;
|
st_ino : ino_t;
|
||||||
pad1 : array[1..3] of longint; { reserve for dev expansion }
|
st_mode : mode_t;
|
||||||
ino : ino_t;
|
st_nlink : nlink_t;
|
||||||
mode : mode_t;
|
st_uid : uid_t;
|
||||||
nlink : nlink_t;
|
st_gid : gid_t;
|
||||||
uid : uid_t;
|
st_rdev : dev_t;
|
||||||
gid : gid_t;
|
st_pad2 : array[1..2] of longint;
|
||||||
rdev : dev_t;
|
st_size : off_t;
|
||||||
pad2 : array[1..2] of longint;
|
st_pad3 : longint; {* reserve pad for future off_t expansion *}
|
||||||
size : off_t;
|
st_atime : time_t;
|
||||||
pad3 : longint; {* reserve pad for future off_t expansion *}
|
st_atimens : longint; { access time nanosecond field }
|
||||||
atime : time_t;
|
st_mtime : time_t;
|
||||||
atimens : longint; { access time nanosecond field }
|
st_mtimens : longint; { modification time nanosecond field }
|
||||||
mtime : time_t;
|
st_ctime : time_t;
|
||||||
mtimens : longint; { modification time nanosecond field }
|
st_ctimens : longint; { modification time nanosecond field }
|
||||||
ctime : time_t;
|
st_blksize : blksize_t;
|
||||||
ctimens : longint; { modification time nanosecond field }
|
st_blocks : blkcnt_t;
|
||||||
blksize : blksize_t;
|
st_fstype : array[0..ST_FSTYPSZ-1] of char;
|
||||||
blocks : blkcnt_t;
|
st_pad4 : array[1..8] of longint;
|
||||||
fstype : array[0..ST_FSTYPSZ-1] of char;
|
|
||||||
pad4 : array[1..8] of longint);
|
|
||||||
1:
|
|
||||||
(st_dev : dev_t;
|
|
||||||
st_pad1 : array[1..3] of longint; { reserve for dev expansion }
|
|
||||||
st_ino : ino_t;
|
|
||||||
st_mode : mode_t;
|
|
||||||
st_nlink : nlink_t;
|
|
||||||
st_uid : uid_t;
|
|
||||||
st_gid : gid_t;
|
|
||||||
st_rdev : dev_t;
|
|
||||||
st_pad2 : array[1..2] of longint;
|
|
||||||
st_size : off_t;
|
|
||||||
st_pad3 : longint; {* reserve pad for future off_t expansion *}
|
|
||||||
st_atime : time_t;
|
|
||||||
st_atimens : longint; { access time nanosecond field }
|
|
||||||
st_mtime : time_t;
|
|
||||||
st_mtimens : longint; { modification time nanosecond field }
|
|
||||||
st_ctime : time_t;
|
|
||||||
st_ctimens : longint; { modification time nanosecond field }
|
|
||||||
st_blksize : blksize_t;
|
|
||||||
st_blocks : blkcnt_t;
|
|
||||||
st_fstype : array[0..ST_FSTYPSZ-1] of char;
|
|
||||||
st_pad4 : array[1..8] of longint);
|
|
||||||
end;
|
end;
|
||||||
TStat = Stat;
|
TStat = Stat;
|
||||||
PStat = ^Stat;
|
PStat = ^Stat;
|
||||||
|
Loading…
Reference in New Issue
Block a user