const DBT *data, unsigned int flags); int (*sync)(const DB *db, unsigned int flags ... cached in memory, failing to sync the file with a close or sync functionconst DBT *data, unsigned int flags); int (*sync)(const DB *db, unsigned int flags ... cached in memory, failing to sync the file with a close or sync functionDESCRIPTION The aio_fsync () function does a sync on all outstanding asynchronous I/O operations associated ... structure.) More precisely, if op is O_SYNC , then all currently que…void * pgaddr , unsigned int flags ); int mpool_sync(MPOOL * mp ); int mpool_close(MPOOL ... error occurs. The function mpool_sync () writes all modified pages associated with the …some mapping flags (e.g., MAP_SYNC ). MAP_PRIVATE Create a private copy-on-write mapping ... systems (e.g., some of the BSDs). MAP_SYNC (since Linux 4.15) This flag is availablemust be flushed too, for example, with sync (2) or fsync (2). SEE ALSO fsync ... sync (2), write (2), fclose (3), fileno (3), fopen (3), fpurge (3), setbuf (3), unlockedfilesystem immediately (see the description of O_SYNC in open (2)). It is unspecified whetherfilesystem immediately (see the description of O_SYNC in open (2)). It is unspecified whetherflags : O_APPEND , O_CLOEXEC , and O_SYNC . Note that when creating the file, mkostempflags : O_APPEND , O_CLOEXEC , and O_SYNC . Note that when creating the file, mkostempflags : O_APPEND , O_CLOEXEC , and O_SYNC . Note that when creating the file, mkostempflags : O_APPEND , O_CLOEXEC , and O_SYNC . Note that when creating the file, mkostemp