Lines Matching defs:openflags
60 struct openflags {
71 #define OPENFLAGS() ((struct openflags) { .r = 0, .w = 0, .s = 0, .c = 0, \
74 static inline struct openflags of_read(struct openflags flags)
80 static inline struct openflags of_write(struct openflags flags)
86 static inline struct openflags of_rdwr(struct openflags flags)
91 static inline struct openflags of_set_rw(struct openflags flags, int r, int w)
98 static inline struct openflags of_sync(struct openflags flags)
104 static inline struct openflags of_create(struct openflags flags)
110 static inline struct openflags of_trunc(struct openflags flags)
116 static inline struct openflags of_append(struct openflags flags)
122 static inline struct openflags of_excl(struct openflags flags)
128 static inline struct openflags of_cloexec(struct openflags flags)
146 extern int os_open_file(const char *file, struct openflags flags, int mode);
166 extern int os_file_mode(const char *file, struct openflags *mode_out);