From 6f2949285ca09a0a0977fa0213bd5dc3db293eb0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 23 Aug 2002 23:31:13 +0000 Subject: Split out the definition of struct stat into the new arch specific bits/kernel_stat.h file. -Erik --- libc/sysdeps/linux/alpha/bits/kernel_stat.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 libc/sysdeps/linux/alpha/bits/kernel_stat.h (limited to 'libc/sysdeps/linux/alpha') diff --git a/libc/sysdeps/linux/alpha/bits/kernel_stat.h b/libc/sysdeps/linux/alpha/bits/kernel_stat.h new file mode 100644 index 000000000..46bd9c471 --- /dev/null +++ b/libc/sysdeps/linux/alpha/bits/kernel_stat.h @@ -0,0 +1,27 @@ +#ifndef _BITS_STAT_STRUCT_H +#define _BITS_STAT_STRUCT_H + +/* This file provides whatever this particular arch's kernel thinks + * struct stat should look like... It turns out each arch has a + * different opinion on the subject... */ +struct stat { + unsigned int st_dev; + unsigned int st_ino; + unsigned int st_mode; + unsigned int st_nlink; + unsigned int st_uid; + unsigned int st_gid; + unsigned int st_rdev; + long st_size; + unsigned long st_atime; + unsigned long st_mtime; + unsigned long st_ctime; + unsigned int st_blksize; + int st_blocks; + unsigned int st_flags; + unsigned int st_gen; +}; + + +#endif /* _BITS_STAT_STRUCT_H */ + -- cgit v1.2.3