chiark / gitweb /
volume_id: provide libvolume_id.a file
[elogind.git] / klibc / include / arch / ppc / klibc / archstat.h
1 #ifndef _KLIBC_ARCHSTAT_H
2 #define _KLIBC_ARCHSTAT_H
3
4 #define _STATBUF_ST_NSEC
5
6 /* This matches struct stat64 in glibc2.1.
7  */
8 struct stat {
9         unsigned long long st_dev;      /* Device.  */
10         unsigned long long st_ino;      /* File serial number.  */
11         unsigned int st_mode;           /* File mode.  */
12         unsigned int st_nlink;          /* Link count.  */
13         unsigned int st_uid;            /* User ID of the file's owner.  */
14         unsigned int st_gid;            /* Group ID of the file's group. */
15         unsigned long long st_rdev;     /* Device number, if device.  */
16         unsigned short int __pad2;
17         long long st_size;              /* Size of file, in bytes.  */
18         long st_blksize;                /* Optimal block size for I/O.  */
19
20         long long st_blocks;            /* Number 512-byte blocks allocated. */
21         struct timespec st_atim;        /* Time of last access.  */
22         struct timespec st_mtim;        /* Time of last modification.  */
23         struct timespec st_ctim;        /* Time of last status change.  */
24         unsigned long int __unused4;
25         unsigned long int __unused5;
26 };
27
28 #endif