mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 08:19:43 +02:00
Try to get a correct stat record
git-svn-id: trunk@36666 -
This commit is contained in:
parent
cbe9a1b65f
commit
de3f4e72ed
@ -19,20 +19,22 @@
|
||||
{ do NOT declare this record as packed, because it needs to be aligned }
|
||||
{ to its largest member (i.e., 8 bytes), and declaring it as packed }
|
||||
{ disables that }
|
||||
{ extracted from "/usr/sparc64-linux-gnu/include/bits/stat.h" line 38 }
|
||||
Stat = record // No unix typing because of differences
|
||||
st_dev : culong;
|
||||
__pad1 : cushort;
|
||||
st_ino : culong;
|
||||
st_nlink : culong;
|
||||
|
||||
st_mode : cuint;
|
||||
st_nlink : cuint;
|
||||
|
||||
st_uid : cuint;
|
||||
st_gid : cuint;
|
||||
__pad0 : cuint;
|
||||
|
||||
st_rdev : culong;
|
||||
st_size : clong;
|
||||
st_blksize: clong;
|
||||
st_blocks : clong;
|
||||
__pad2 : cushort;
|
||||
st_size : clonglong;
|
||||
st_blksize: culong;
|
||||
st_blocks : culong;
|
||||
|
||||
st_atime : culong;
|
||||
st_atime_nsec : culong;
|
||||
|
Loading…
Reference in New Issue
Block a user