Lines Matching defs:fdatasync
40411 ** We do not trust systems to provide a working fdatasync(). Some do.
40413 ** fsync(). If you know that your system does support fdatasync() correctly,
40414 ** then simply compile with -Dfdatasync=fdatasync or -DHAVE_FDATASYNC
40416 #if !defined(fdatasync) && !HAVE_FDATASYNC
40417 # define fdatasync fsync
40447 ** Ted Ts'o tells us that fdatasync() will also write the inode if the
40448 ** file size has changed. The only real difference between fdatasync()
40449 ** and fsync(), Ted tells us, is that fdatasync() will not flush the
40452 ** as far as SQLite is concerned, an fdatasync() is always adequate.
40453 ** So, we always use fdatasync() if it is available, regardless of
40510 /* fdatasync() on HFS+ doesn't yet flush the file size if it changed correctly
40511 ** so currently we default to the macro that redefines fdatasync to fsync
40515 rc = fdatasync(fd);