• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef CYGONCE_ISO_FCNTL_H
2 #define CYGONCE_ISO_FCNTL_H
3 
4 #ifdef __cplusplus
5 #if __cplusplus
6 extern "C" {
7 #endif /* __cplusplus */
8 #endif /* __cplusplus */
9 
10 #define __CC_ARM
11 /* File access modes used for open() and fnctl() */
12 /* for vfs_jffs2.c                                                             */
13 /*------------------------------------------------------------------------*/
14 /* File access modes used for open() and fnctl() */
15 
16 /* File access mode mask */
17 #define JFFS2_O_ACCMODE (O_RDONLY | O_WRONLY | O_NONBLOCK | O_APPEND)
18 
19 
20 #define JFFS2_O_EXECVE     (1 << 2)    /* Execute use */
21 
22 #define READ_OP                4
23 #define WRITE_OP               2
24 #define EXEC_OP                1
25 #define JFFS2_USER_SHFIT       6
26 #define JFFS2_GROUP_SHFIT      3
27 #define JFFS2_MODE_ALL         (READ_OP | WRITE_OP | EXEC_OP)
28 
29 #ifdef __cplusplus
30 #if __cplusplus
31 }
32 #endif /* __cplusplus */
33 #endif /* __cplusplus */
34 
35 #endif
36 /* EOF fcntl.h */
37