MSYNC(2) BSD Programmer's Manual MSYNC(2) NNAAMMEE mmssyynncc - synchronize a mapped region SSYYNNOOPPSSIISS mmssyynncc(_c_a_d_d_r___t _a_d_d_r, _i_n_t _l_e_n); DDEESSCCRRIIPPTTIIOONN The mmssyynncc() system call writes any modified pages back to the filesystem and updates the file modification time. If _l_e_n is 0, all modified pages within the region containing _a_d_d_r will be flushed; if _l_e_n is non-zero, only the pages containing _a_d_d_r and _l_e_n succeeding locations will be exam- ined. Any required synchronization of memory caches will also take place at this time. Filesystem operations on a file that is mapped for shared modifications are unpredictable except after an mmssyynncc(). SSEEEE AALLSSOO madvise(2), munmap(2), mprotect(2), mincore(2) HHIISSTTOORRYY The mmssyynncc() function first appeared in 4.4BSD. 4.4BSD June 9, 1993 1