Update.
[glibc.git] / sysdeps / unix / sysv / linux / powerpc / powerpc32 / kernel_stat.h
bloba2db5861654d74bb6cd70c82f1e40ae6f72bd6aa
1 /* Definition of `struct stat' used in the kernel.
2 Copyright (C) 1997, 2000 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
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.
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
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA. */
20 struct kernel_stat
22 unsigned int st_dev;
23 unsigned int st_ino;
24 unsigned int st_mode;
25 unsigned short st_nlink;
26 unsigned int st_uid;
27 unsigned int st_gid;
28 unsigned int st_rdev;
29 unsigned long int st_size;
30 unsigned long int st_blksize;
31 unsigned long int st_blocks;
32 unsigned long int st_atime;
33 unsigned long int __unused1;
34 #define _HAVE___UNUSED1
35 unsigned long int st_mtime;
36 unsigned long int __unused2;
37 #define _HAVE___UNUSED2
38 unsigned long int st_ctime;
39 unsigned long int __unused3;
40 #define _HAVE___UNUSED3
41 unsigned long int __unused4;
42 #define _HAVE___UNUSED4
43 unsigned long int __unused5;
44 #define _HAVE___UNUSED5
47 #define _HAVE_STAT___UNUSED1
48 #define _HAVE_STAT___UNUSED2
49 #define _HAVE_STAT___UNUSED3
50 #define _HAVE_STAT___UNUSED4
51 #define _HAVE_STAT___UNUSED5
52 #define _HAVE_STAT___PAD1
53 #define _HAVE_STAT___PAD2
54 #define _HAVE_STAT64___UNUSED1
55 #define _HAVE_STAT64___UNUSED2
56 #define _HAVE_STAT64___UNUSED3
57 #define _HAVE_STAT64___UNUSED4
58 #define _HAVE_STAT64___UNUSED5
59 #define _HAVE_STAT64___PAD2