1 #ifndef __LUNAIX_SYS_FCNTL_DEFS_H
2 #define __LUNAIX_SYS_FCNTL_DEFS_H
11 #define FO_RDONLY 0x10
15 #define FO_NOFOLLOW 0x10000
21 #define O_CREAT FO_CREATE
22 #define O_APPEND FO_APPEND
23 #define O_DIRECT FO_DIRECT
24 #define O_WRONLY FO_WRONLY
25 #define O_RDONLY FO_RDONLY
26 #define O_RDWR FO_RDWR
27 #define O_TRUNC FO_TRUNC
29 #define AT_SYMLINK_FOLLOW 0b0000
30 #define AT_SYMLINK_NOFOLLOW 0b0001
31 #define AT_FDCWD 0b0010
32 #define AT_EACCESS 0b0100
34 #define R_OK 0b100100100
35 #define W_OK 0b010010010
36 #define X_OK 0b001001001
37 #define F_OK 0b111111111
39 /* Mount with read-only flag */
40 #define MNT_RO (1 << 0)
42 /* Mount with block-cache-disabled flag */
43 #define MNT_NC (1 << 1)
45 typedef unsigned int mode_t;
46 typedef unsigned int nlink_t;
61 unsigned long st_atim;
62 unsigned long st_ctim;
63 unsigned long st_mtim;
68 #endif /* __LUNAIX_FNCTL_DEFS_H */