summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/alpha
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-23 23:31:13 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-23 23:31:13 +0000
commit6f2949285ca09a0a0977fa0213bd5dc3db293eb0 (patch)
treed1161efe61af5ec07a6d437fdf757899c98aedec /libc/sysdeps/linux/alpha
parentca0b61f94eeee2b7127babeb73606acdc863ae95 (diff)
Split out the definition of struct stat into the new arch
specific bits/kernel_stat.h file. -Erik
Diffstat (limited to 'libc/sysdeps/linux/alpha')
-rw-r--r--libc/sysdeps/linux/alpha/bits/kernel_stat.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/alpha/bits/kernel_stat.h b/libc/sysdeps/linux/alpha/bits/kernel_stat.h
new file mode 100644
index 000000000..46bd9c471
--- /dev/null
+++ b/libc/sysdeps/linux/alpha/bits/kernel_stat.h
@@ -0,0 +1,27 @@
+#ifndef _BITS_STAT_STRUCT_H
+#define _BITS_STAT_STRUCT_H
+
+/* This file provides whatever this particular arch's kernel thinks
+ * struct stat should look like... It turns out each arch has a
+ * different opinion on the subject... */
+struct stat {
+ unsigned int st_dev;
+ unsigned int st_ino;
+ unsigned int st_mode;
+ unsigned int st_nlink;
+ unsigned int st_uid;
+ unsigned int st_gid;
+ unsigned int st_rdev;
+ long st_size;
+ unsigned long st_atime;
+ unsigned long st_mtime;
+ unsigned long st_ctime;
+ unsigned int st_blksize;
+ int st_blocks;
+ unsigned int st_flags;
+ unsigned int st_gen;
+};
+
+
+#endif /* _BITS_STAT_STRUCT_H */
+