about summary refs log tree commit diff
path: root/bits/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/stat.h')
-rw-r--r--bits/stat.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/bits/stat.h b/bits/stat.h
index dab0cd00cb..3648fed738 100644
--- a/bits/stat.h
+++ b/bits/stat.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -70,5 +70,23 @@ struct stat
 #define	__S_IWRITE	0200	/* Write by owner.  */
 #define	__S_IEXEC	0100	/* Execute by owner.  */
 
+#ifdef __USE_LARGEFILE64
+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.  */
+    __uid_t st_uid;			/* User ID of the file's owner.	*/
+    __gid_t st_gid;			/* Group ID of the file's group.*/
+    __off64_t st_size;			/* Size of file, in bytes.  */
+
+    __time_t st_atime;			/* Time of last access.  */
+    __time_t st_mtime;			/* Time of last modification.  */
+    __time_t st_ctime;			/* Time of last status change.  */
+  };
+#endif
+
 
 #endif /* bits/stat.h */