newlib: Regenerate autotools files
[newlib-cygwin.git] / libgloss / riscv / kernel_stat.h
blobd07bac544a59ab66b56102c683b7587754fc8fd6
1 /* Copyright (c) 2017 SiFive Inc. All rights reserved.
3 This copyrighted material is made available to anyone wishing to use,
4 modify, copy, or redistribute it subject to the terms and conditions
5 of the FreeBSD License. This program is distributed in the hope that
6 it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
7 including the implied warranties of MERCHANTABILITY or FITNESS FOR
8 A PARTICULAR PURPOSE. A copy of this license is available at
9 http://www.opensource.org/licenses.
12 #ifndef _RISCV_KERNEL_STAT_H
13 #define _RISCV_KERNEL_STAT_H
15 #include <sys/types.h>
16 #include <sys/stat.h>
18 struct kernel_stat
20 unsigned long long st_dev;
21 unsigned long long st_ino;
22 unsigned int st_mode;
23 unsigned int st_nlink;
24 unsigned int st_uid;
25 unsigned int st_gid;
26 unsigned long long st_rdev;
27 unsigned long long __pad1;
28 long long st_size;
29 int st_blksize;
30 int __pad2;
31 long long st_blocks;
32 struct timespec st_atim;
33 struct timespec st_mtim;
34 struct timespec st_ctim;
35 int __glibc_reserved[2];
38 void _conv_stat (struct stat *, struct kernel_stat *);
39 #endif /* _RISCV_KERNEL_STAT_H */