patch-1.3.44 linux/include/asm-sparc/stat.h

Next file: linux/include/asm-sparc/statfs.h
Previous file: linux/include/asm-sparc/solerrno.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.43/linux/include/asm-sparc/stat.h linux/include/asm-sparc/stat.h
@@ -0,0 +1,41 @@
+/* $Id: stat.h,v 1.6 1995/11/25 02:32:53 davem Exp $ */
+#ifndef _SPARC_STAT_H
+#define _SPARC_STAT_H
+
+#include <linux/types.h>
+
+struct old_stat {
+	unsigned short st_dev;
+	unsigned short st_ino;
+	unsigned short st_mode;
+	unsigned short st_nlink;
+	unsigned short st_uid;
+	unsigned short st_gid;
+	unsigned short st_rdev;
+	unsigned long  st_size;
+	unsigned long  st_atime;
+	unsigned long  st_mtime;
+	unsigned long  st_ctime;
+};
+
+struct new_stat {
+	dev_t   st_dev;
+	ino_t   st_ino;
+	mode_t  st_mode;
+	short   st_nlink;
+	uid_t   st_uid;
+	gid_t   st_gid;
+	dev_t   st_rdev;
+	off_t   st_size;
+	time_t  st_atime;
+	unsigned long  __unused1;
+	time_t  st_mtime;
+	unsigned long  __unused2;
+	time_t  st_ctime;
+	unsigned long  __unused3;
+	off_t   st_blksize;
+	off_t   st_blocks;
+	unsigned long  __unused4[2];
+};
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this