vserver 2.0 rc7
[linux-2.6.git] / include / asm-sparc64 / stat.h
1 /* $Id: stat.h,v 1.7 2000/08/04 05:35:55 davem Exp $ */
2 #ifndef _SPARC64_STAT_H
3 #define _SPARC64_STAT_H
4
5 #include <linux/types.h>
6
7 struct stat {
8         unsigned   st_dev;
9         ino_t   st_ino;
10         mode_t  st_mode;
11         short   st_nlink;
12         uid_t   st_uid;
13         gid_t   st_gid;
14         unsigned   st_rdev;
15         off_t   st_size;
16         time_t  st_atime;
17         time_t  st_mtime;
18         time_t  st_ctime;
19         off_t   st_blksize;
20         off_t   st_blocks;
21         unsigned long  __unused4[2];
22 };
23
24 struct stat64 {
25         unsigned long   st_dev;
26         unsigned long   st_ino;
27         unsigned long   st_nlink;
28
29         unsigned int    st_mode;
30         unsigned int    st_uid;
31         unsigned int    st_gid;
32         unsigned int    __pad0;
33
34         unsigned long   st_rdev;
35         long            st_size;
36         long            st_blksize;
37         long            st_blocks;
38
39         unsigned long   st_atime;
40         unsigned long   st_atime_nsec;
41         unsigned long   st_mtime;
42         unsigned long   st_mtime_nsec;
43         unsigned long   st_ctime;
44         unsigned long   st_ctime_nsec;
45         long            __unused[3];
46 };
47
48 #endif