aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/ia64/bits/stat.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-20 01:36:28 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-20 01:36:28 +0000
commit0289ab3b1b4c9faeab1f22f3dad9a2783f1266c5 (patch)
tree4bfa443ec0507f38f29190dde74114a961d7f22b /sysdeps/unix/sysv/linux/ia64/bits/stat.h
parentd2dfc5de011fb525161b85a1408f716a2ea358cc (diff)
downloadglibc-0289ab3b1b4c9faeab1f22f3dad9a2783f1266c5.tar
glibc-0289ab3b1b4c9faeab1f22f3dad9a2783f1266c5.tar.gz
glibc-0289ab3b1b4c9faeab1f22f3dad9a2783f1266c5.tar.bz2
glibc-0289ab3b1b4c9faeab1f22f3dad9a2783f1266c5.zip
Update.
2000-06-16 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/xstat.c: New file. * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file. * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file. * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest kernel change. * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t, __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data structure. Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel implementation. 2000-06-15 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted. 2000-06-08 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64/bits/stat.h')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/bits/stat.h28
1 files changed, 12 insertions, 16 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/bits/stat.h b/sysdeps/unix/sysv/linux/ia64/bits/stat.h
index 6afd556597..421d0c5a48 100644
--- a/sysdeps/unix/sysv/linux/ia64/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/ia64/bits/stat.h
@@ -31,30 +31,23 @@
struct stat
{
__dev_t st_dev; /* Device. */
-#ifdef __USE_FILE_OFFSET64
- __ino64_t st_ino; /* File serial number. */
-#else
__ino_t st_ino; /* File serial number. */
- int __pad1;
-#endif
- __mode_t st_mode; /* File mode. */
__nlink_t st_nlink; /* Link count. */
+ __mode_t st_mode; /* File mode. */
__uid_t st_uid; /* User ID of the file's owner. */
__gid_t st_gid; /* Group ID of the file's group.*/
+ int pad0;
__dev_t st_rdev; /* Device number, if device. */
__off_t st_size; /* Size of file, in bytes. */
__time_t st_atime; /* Time of last access. */
+ long int __reserved0; /* Reserved for atime.nanoseconds. */
__time_t st_mtime; /* Time of last modification. */
+ long int __reserved1; /* Reserved for mtime.nanoseconds. */
__time_t st_ctime; /* Time of last status change. */
-#ifdef __USE_FILE_OFFSET64
- __blkcnt64_t st_blocks; /* Nr. 512-byte blocks allocated. */
-#else
+ long int __reserved2; /* Reserved for ctime.nanoseconds. */
__blkcnt_t st_blocks; /* Nr. 512-byte blocks allocated. */
- int __pad2;
-#endif
__blksize_t st_blksize; /* Optimal block size for I/O. */
- int __pad3;
- long __unused[6];
+ long int __unused[3];
};
#ifdef __USE_LARGEFILE64
@@ -63,19 +56,22 @@ struct stat64
{
__dev_t st_dev; /* Device. */
__ino64_t st_ino; /* File serial number. */
- __mode_t st_mode; /* File mode. */
__nlink_t st_nlink; /* Link count. */
+ __mode_t st_mode; /* File mode. */
__uid_t st_uid; /* User ID of the file's owner. */
__gid_t st_gid; /* Group ID of the file's group.*/
+ int pad0;
__dev_t st_rdev; /* Device number, if device. */
__off_t st_size; /* Size of file, in bytes. */
__time_t st_atime; /* Time of last access. */
+ long int __reserved0; /* Reserved for atime.nanoseconds. */
__time_t st_mtime; /* Time of last modification. */
+ long int __reserved1; /* Reserved for mtime.nanoseconds. */
__time_t st_ctime; /* Time of last status change. */
+ long int __reserved2; /* Reserved for ctime.nanoseconds. */
__blkcnt64_t st_blocks; /* Nr. 512-byte blocks allocated. */
__blksize_t st_blksize; /* Optimal block size for I/O. */
- int __pad3;
- long __unused[6];
+ long int __unused[3];
};
#endif