2
This file is part of the Free Pascal run time library.
3
Copyright (c) 1999-2004 by Jonas Maebe,
4
member of the Free Pascal development team.
6
See the file COPYING.FPC, included in this distribution,
7
for details about the copyright.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
**********************************************************************}
15
{$ifndef FPC_USE_LIBC} // kernel record
17
stat = packed record // No unix typing because of differences
22
nlink : qword deprecated;
27
__pad0 : cardinal deprecated;
28
rdev : qword deprecated;
31
blocks : int64 deprecated;
38
ctime_nsec : qword deprecated;
39
__unused : array[0..2] of qword deprecated);
59
st_ctime_nsec : qword;
60
__unused2 : array[0..2] of qword;);
66
// god from /usr/include/asm-x86_64 some -dev of linux-headers must be installed
70
0:(dev: cuLong deprecated;
71
ino: cuLong deprecated;
72
nlink: cuLong deprecated;
74
mode: cuInt deprecated;
75
uid: cuInt deprecated;
76
gid: cuInt deprecated;
77
__pad0: cuInt deprecated;
78
rdev: cuLong deprecated;
79
size: cLong deprecated;
80
blksize: cLong deprecated;
81
blocks: cLong deprecated; //* Number 512-byte blocks allocated. */
83
atime: cuLong deprecated;
84
atime_nsec: cuLong deprecated;
85
mtime: cuLong deprecated;
86
mtime_nsec: cuLong deprecated;
87
ctime: cuLong deprecated;
88
ctime_nsec: cuLong deprecated;
89
__unused: array[0..2] of cLong deprecated;);
102
st_blocks: cLong; //* Number 512-byte blocks allocated. */
105
st_atime_nsec: cuLong;
107
st_mtime_nsec: cuLong;
109
st_ctime_nsec: cuLong;
110
__unused2: array[0..2] of cLong);