Lines Matching defs:O_DSYNC
81 /* OS X does not have O_DSYNC */
82 #ifndef O_DSYNC
84 #define O_DSYNC O_SYNC
86 #define O_DSYNC O_FSYNC
90 /* Approximate O_DIRECT with O_DSYNC if O_DIRECT isn't available */
92 #define O_DIRECT O_DSYNC
144 /* Use O_DSYNC for write-through caching, no flags for write-back caching,
149 s->open_flags |= O_DSYNC;