RTEMS CPU Kit with SuperCore  4.11.3
fs.h
Go to the documentation of this file.
1 #ifndef __LINUX_FS_H__
2 #define __LINUX_FS_H__
3 
4 #include <linux/stat.h>
5 #include <sys/types.h>
6 #include <sys/time.h>
7 
8 #define DT_UNKNOWN 0
9 #define DT_DIR 4
10 #define DT_REG 8
11 #define DT_LNK 10
12 
13 #define ATTR_MODE (1U << 0)
14 #define ATTR_UID (1U << 1)
15 #define ATTR_GID (1U << 2)
16 #define ATTR_SIZE (1U << 3)
17 #define ATTR_ATIME (1U << 4)
18 #define ATTR_MTIME (1U << 5)
19 #define ATTR_CTIME (1U << 6)
20 
21 struct iattr {
22  unsigned int ia_valid;
23  mode_t ia_mode;
24  uid_t ia_uid;
25  gid_t ia_gid;
26  off_t ia_size;
27  time_t ia_atime;
28  time_t ia_mtime;
29  time_t ia_ctime;
30 };
31 
32 #endif /* __LINUX_FS_H__ */
Definition: fs.h:22