1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- {
- This file is part of the Free Pascal run time library.
- Copyright (c) 1999-2000 by Jonas Maebe,
- member of the Free Pascal development team.
- See the file COPYING.FPC, included in this distribution,
- for details about the copyright.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- **********************************************************************}
- {$ifndef FPC_USE_LIBC} // kernel record
- Stat = packed record // No unix typing because of differences
- st_dev : culonglong;
- __pad0 : array[0..3] of cuchar;
- __st_ino : culong;
- st_mode : cuint;
- st_nlink : cuint;
- st_uid : culong;
- st_gid : culong;
- st_rdev : culonglong;
- __pad3 : array[0..3] of cuchar;
- st_size : culonglong;
- st_blksize: culong;
- st_blocks : culonglong;
- st_atime : culong;
- st_atime_nsec : culong;
- st_mtime : culong;
- st_mtime_nsec : cuint;
- st_ctime : culong;
- st_ctime_nsec : culong;
- st_ino : culonglong;
- end;
- {$else}
- {$packrecords C}
- Stat = Record // No unix typing because of differences
- // kernel <->libc
- st_dev : int64;
- pad1 : word;
- st_ino : longint;
- st_mode,
- st_nlink,
- st_uid,
- st_gid : longint;
- st_rdev : int64;
- pad2 : word;
- st_size,
- st_blksize,
- st_blocks,
- st_atime,
- unused1,
- st_mtime,
- unused2,
- st_ctime,
- unused3,
- unused4,
- unused5 : longint;
- end;
- {$endif}
|