fdatasync() is the same as fsync(), in linux. until fdatasync() is
implimented (ie, syncs the data only), there's no reason to define O_DSYNC.
just use:
#ifndef O_DSYNC
# define O_DSYNC O_SYNC
#endif
On Sat, Mar 10, 2001 at 01:03:57PM +0600, Denis Perchine wrote:
> one small question... Will O_DSYNC flag be available in Linux?
> It is available at least on AIX, and HP-UX. The difference with O_SYNC is the
> same as between fsync and fdatasync.
-- Tom Vier <thomassr@erols.com> DSA Key id 0x27371A2C - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Mar 15 2001 - 21:00:17 EST