123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {
- This file is part of the Free Pascal run time library.
- Copyright (c) 1999-2000 by Jonas Maebe, (c) 2005 Thomas Schatzl,
- members of the Free Pascal development team.
- Contains the definition of the stat type for the PowerPC64 platform.
- 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.
- **********************************************************************}
- { This structure was adapted from
- include/uapi/asm-generic/stat.h
- in Linux 4.0. Note that the stat record is the same for direct
- syscalls as for when linking to libc.
- }
- {$PACKRECORDS C}
- stat = record
- case integer of
- 0 : (
- st_dev : cULong;
- st_ino : cULong;
- st_mode : cUInt;
- st_nlink : cUInt;
- st_uid : cUInt;
- st_gid : cUInt;
- st_rdev : cULong;
- __pad1a : cULong;
- st_size : cLong;
- st_blksize : cInt;
- __pad2a : cInt;
- st_blocks : cLong;
- st_atime : cLong;
- st_atime_nsec : cULong;
- st_mtime : cLong;
- st_mtime_nsec : cULong;
- st_ctime : cLong;
- st_ctime_nsec : cULong;
- __unused4a : cUInt;
- __unused5a : cUInt;
- );
- 1 : (
- dev : cULong deprecated;
- ino : cULong deprecated;
- mode : cUInt deprecated;
- nlink : cUInt deprecated;
- uid : cUInt deprecated;
- gid : cUInt deprecated;
- rdev : cULong deprecated;
- __pad1b : cULong deprecated;
- size : cLong deprecated;
- blksize : cInt deprecated;
- __pad2b : cInt deprecated;
- blocks : cLong deprecated;
- atime : cLong deprecated;
- atime_nsec : cULong deprecated;
- mtime : cLong deprecated;
- mtime_nsec : cULong deprecated;
- ctime : cLong deprecated;
- ctime_nsec : cULong deprecated;
- __unused4b : cUInt deprecated;
- __unused5b : cUInt deprecated;
- );
- end;
|