]>
Commit | Line | Data |
---|---|---|
5929563f | 1 | /* Definition of `struct stat' used in the kernel. |
b168057a | 2 | Copyright (C) 1997-2015 Free Software Foundation, Inc. |
4cca6b86 UD |
3 | This file is part of the GNU C Library. |
4 | ||
5 | The GNU C Library is free software; you can redistribute it and/or | |
41bdb6e2 AJ |
6 | modify it under the terms of the GNU Lesser General Public |
7 | License as published by the Free Software Foundation; either | |
8 | version 2.1 of the License, or (at your option) any later version. | |
4cca6b86 UD |
9 | |
10 | The GNU C Library is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
41bdb6e2 | 13 | Lesser General Public License for more details. |
4cca6b86 | 14 | |
41bdb6e2 | 15 | You should have received a copy of the GNU Lesser General Public |
59ba27a6 PE |
16 | License along with the GNU C Library; if not, see |
17 | <http://www.gnu.org/licenses/>. */ | |
4cca6b86 | 18 | |
5929563f UD |
19 | struct kernel_stat |
20 | { | |
21 | unsigned int st_dev; | |
22 | unsigned int st_ino; | |
23 | unsigned int st_mode; | |
24 | unsigned short st_nlink; | |
25 | unsigned int st_uid; | |
26 | unsigned int st_gid; | |
27 | unsigned int st_rdev; | |
28 | unsigned long int st_size; | |
29 | unsigned long int st_blksize; | |
30 | unsigned long int st_blocks; | |
d5f001d4 AJ |
31 | struct timespec st_atim; |
32 | struct timespec st_mtim; | |
33 | struct timespec st_ctim; | |
d1d9eaf4 | 34 | unsigned long int __glibc_reserved4; |
5929563f | 35 | #define _HAVE___UNUSED4 |
d1d9eaf4 | 36 | unsigned long int __glibc_reserved5; |
5929563f UD |
37 | #define _HAVE___UNUSED5 |
38 | }; | |
56ddf355 | 39 | |
56ddf355 UD |
40 | #define _HAVE_STAT___UNUSED4 |
41 | #define _HAVE_STAT___UNUSED5 | |
42 | #define _HAVE_STAT___PAD1 | |
43 | #define _HAVE_STAT___PAD2 | |
1bf5cffd | 44 | #define _HAVE_STAT_NSEC |
56ddf355 UD |
45 | #define _HAVE_STAT64___UNUSED4 |
46 | #define _HAVE_STAT64___UNUSED5 | |
47 | #define _HAVE_STAT64___PAD2 | |
1bf5cffd | 48 | #define _HAVE_STAT64_NSEC |