Lines Matching defs:openflags
65 struct openflags {
76 #define OPENFLAGS() ((struct openflags) { .r = 0, .w = 0, .s = 0, .c = 0, \
79 static inline struct openflags of_read(struct openflags flags)
85 static inline struct openflags of_write(struct openflags flags)
91 static inline struct openflags of_rdwr(struct openflags flags)
96 static inline struct openflags of_set_rw(struct openflags flags, int r, int w)
103 static inline struct openflags of_sync(struct openflags flags)
109 static inline struct openflags of_create(struct openflags flags)
115 static inline struct openflags of_trunc(struct openflags flags)
121 static inline struct openflags of_append(struct openflags flags)
127 static inline struct openflags of_excl(struct openflags flags)
133 static inline struct openflags of_cloexec(struct openflags flags)
151 extern int os_open_file(const char *file, struct openflags flags, int mode);
170 extern int os_file_mode(const char *file, struct openflags *mode_out);