Lines Matching defs:openflags
51 struct openflags {
62 #define OPENFLAGS() ((struct openflags) { .r = 0, .w = 0, .s = 0, .c = 0, \
65 static inline struct openflags of_read(struct openflags flags)
71 static inline struct openflags of_write(struct openflags flags)
77 static inline struct openflags of_rdwr(struct openflags flags)
82 static inline struct openflags of_set_rw(struct openflags flags, int r, int w)
89 static inline struct openflags of_sync(struct openflags flags)
95 static inline struct openflags of_create(struct openflags flags)
101 static inline struct openflags of_trunc(struct openflags flags)
107 static inline struct openflags of_append(struct openflags flags)
113 static inline struct openflags of_excl(struct openflags flags)
119 static inline struct openflags of_cloexec(struct openflags flags)
136 extern int os_open_file(const char *file, struct openflags flags, int mode);
153 extern int os_file_mode(const char *file, struct openflags *mode_out);