Messages in this thread | | | Date | Wed, 14 Mar 2001 22:26:42 -0500 | From | Tom Vier <> | Subject | Re: O_DSYNC flag for open |
| |
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/
| |